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

Parser: allow method call on following line #409

Open
johnnyt opened this issue Jul 21, 2015 · 2 comments
Open

Parser: allow method call on following line #409

johnnyt opened this issue Jul 21, 2015 · 2 comments
Labels

Comments

@johnnyt
Copy link
Member

johnnyt commented Jul 21, 2015

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)
@johnnyt johnnyt added the Parser label Jul 21, 2015
@jc00ke
Copy link
Contributor

jc00ke commented Jul 21, 2015

Does

Object.
  new

work?

@johnnyt
Copy link
Member Author

johnnyt commented Jul 21, 2015

Nope - still same error

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

2 participants