MagLev / maglev

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

Parser: allow method call on following line #409

Open johnnyt opened 9 years ago

johnnyt commented 9 years ago

MRI 1.9.3

ruby -e 'p Object
.new'
#<Object:0x007fc0b110d6b8>

MagLev

maglev-ruby -e 'p Object
.new'
-e:4, syntax error, unexpected '.'  expecting EOF end-of-file
ERROR 2702 , a RubyParseError occurred (error 2702), -e:4: syntax error, unexpected '.'  expecting EOF end-of-file
unexpected EOF at line 7 (RubyParseError)
jc00ke commented 9 years ago

Does

Object.
  new

work?

johnnyt commented 9 years ago

Nope - still same error