{"issue":{"created_at":"2011-12-07T03:23:06Z","state":"open","updated_at":"2011-12-15T17:12:14Z","user":{"gravatar_id":"8c94d965389694bd5adc14679977fd5d","id":18191,"url":"https://api.github.com/users/jc00ke","login":"jc00ke","avatar_url":"https://secure.gravatar.com/avatar/8c94d965389694bd5adc14679977fd5d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":3,"body":"MRI 1.8.7-p352\r\n\r\n```\r\n>> p = Proc.new { |s, *args| p s, args }\r\n=> #<Proc:0x00007f2fa3e98ef8@(irb):6>\r\n>> p.call(:foo)\r\n:foo\r\n[]\r\n```\r\n\r\nMagLev (head)\r\n\r\n```\r\n>> p = lambda { |s, *args| p s, args }\r\n=> #<Proc>\r\n\r\n>> p.call(:foo)\r\nArgumentError: too few args\r\n\tfrom (irb):10:in `__compileEval'\r\n\tfrom (irb):12:in `__compileEval'\r\n\tfrom /home/jesse/projects/maglev/src/kernel/bootstrap/Kernel.rb:394:in `eval'\r\n\tfrom /home/jesse/projects/maglev/lib/ruby/1.8/irb.rb:159:in `eval_input'\r\n\tfrom /home/jesse/projects/maglev/lib/ruby/1.8/irb.rb:162:in `eval_input'\r\n\tfrom /home/jesse/projects/maglev/lib/ruby/1.8/irb.rb:280:in `signal_status'\r\n\tfrom /home/jesse/projects/maglev/lib/ruby/1.8/irb.rb:281:in `signal_status'\r\n\tfrom /home/jesse/projects/maglev/lib/ruby/1.8/irb.rb:156:in `eval_input'\r\n\tfrom /home/jesse/projects/maglev/lib/ruby/1.8/irb.rb:155:in `eval_input'\r\n\tfrom /home/jesse/projects/maglev/lib/ruby/1.8/irb.rb:71:in `start'\r\n\tfrom /home/jesse/projects/maglev/lib/ruby/1.8/irb.rb:70:in `start'\r\n\tfrom /home/jesse/projects/maglev/lib/ruby/1.8/irb.rb:73:in `start'\r\n\tfrom /home/jesse/projects/maglev/bin/maglev-irb:30\r\n```\r\n\r\nThis is root cause of #112","assignee":null,"id":2470809,"labels":[],"number":114,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Proc arity not respected like MRI","closed_at":null,"html_url":"https://github.com/MagLev/maglev/issues/114","url":"https://api.github.com/repos/MagLev/maglev/issues/114","milestone":null},"action":"created","comment":{"created_at":"2011-12-15T17:12:14Z","updated_at":"2011-12-15T17:12:14Z","user":{"gravatar_id":"36fee2e65c9c0ed678fe3b7d862ed271","id":46235,"url":"https://api.github.com/users/timfel","login":"timfel","avatar_url":"https://secure.gravatar.com/avatar/36fee2e65c9c0ed678fe3b7d862ed271?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"@pbm You got mail :)","id":3165527,"url":"https://api.github.com/repos/MagLev/maglev/issues/comments/3165527"}}