MagLev / maglev

GemStone Maglev Ruby Repository
http://maglev.github.io
517 stars 41 forks source link

Allow for *args as first argument #418

Open johnnyt opened 9 years ago

johnnyt commented 9 years ago

MRI 1.9.3

ruby -e 'def foo(*a,b); p b; end; foo(1,2,3)'
3

MagLev

maglev-ruby -e 'def foo(*a,b); p b; end; foo(1,2,3)'
-e:3, syntax error, unexpected tIDENTIFIER  expecting EOF end-of-file
-e:4, syntax error
ERROR 2702 , a RubyParseError occurred (error 2702), -e:3: syntax error, unexpected tIDENTIFIER  expecting EOF end-of-file  (RubyParseError)
topaz 1> exit