Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rational suffix doesn't work with 0 #3564

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

Rational suffix doesn't work with 0 #3564

headius opened this issue Dec 28, 2015 · 1 comment

Comments

@headius
Copy link
Member

@headius 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
Copy link
Member

@enebo enebo commented Dec 28, 2015

Strngely this only affects 0...

@enebo enebo changed the title [2.3] Rational suffix doesn't work with integers 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
This reverts commit 38092b1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.