Open johnnyt opened 8 years ago
ruby -e 'a=[1]; b=[2]; p(*a, *b)' 1 2
maglev-ruby -e 'a=[1]; b=[2]; p(*a, *b)' -e:3, syntax error, unexpected tSTAR expecting EOF end-of-file ERROR 2702 , a RubyParseError occurred (error 2702), -e:3: syntax error, unexpected tSTAR expecting EOF end-of-file unexpected EOF at line 6 (RubyParseError) topaz 1> exit
when run with no parens - a different error is thrown:
maglev-ruby -e 'a=[1]; b=[2]; p *a, *b' -e:3, syntax error, unexpected tSTAR expecting EOF end-of-file ERROR 2702 , a RubyParseError occurred (error 2702), WARNING, line 3: `*' interpreted as argument prefix -e:3: syntax error, unexpected tSTAR expecting EOF end-of-file unexpected EOF at line 6 (RubyParseError) topaz 1> exit
MRI 1.9.3
MagLev
when run with no parens - a different error is thrown: