Skip to content
This repository has been archived by the owner on Mar 26, 2023. It is now read-only.

Allow for *args as first argument #418

Open
johnnyt opened this issue Jul 24, 2015 · 0 comments
Open

Allow for *args as first argument #418

johnnyt opened this issue Jul 24, 2015 · 0 comments
Labels

Comments

@johnnyt
Copy link
Member

johnnyt commented Jul 24, 2015

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
@johnnyt johnnyt added the Parser label Jul 24, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant