Rational suffix doesn't work with 0 #3564

Closed
headius opened this Issue Dec 28, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@headius
Member

headius commented Dec 28, 2015

$ jruby -e "p 0r"
SyntaxError: -e:1: syntax error, unexpected tIDENTIFIER

Looks like it should handle integers and does not.

@enebo

This comment has been minimized.

Show comment
Hide comment
@enebo

enebo Dec 28, 2015

Member

Strngely this only affects 0...

Member

enebo commented Dec 28, 2015

Strngely this only affects 0...

@enebo enebo changed the title from [2.3] Rational suffix doesn't work with integers to Rational suffix doesn't work with 0 Dec 28, 2015

@enebo enebo closed this in 079df3e Dec 28, 2015

headius added a commit that referenced this issue Dec 28, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment