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
I believe this is a recent change. This case from mri/ruby/test_syntax should pass:
def test_unexpected_fraction msg = /unexpected fraction/ assert_syntax_error("0x0.0", msg) assert_syntax_error("0b0.0", msg) assert_syntax_error("0d0.0", msg) assert_syntax_error("0o0.0", msg) assert_syntax_error("0.0.0", msg) end
We do reject the first form, but our error message is wrong ("SyntaxError: -e:1: no . floating literal anymore; put 0 before dot"). I'm not sure about the others.
The text was updated successfully, but these errors were encountered:
Exclude some minor syntax failures (#2124, #2126, #2127)
3a62b2f
This appears to be have been resolved a while ago.
Sorry, something went wrong.
No branches or pull requests
I believe this is a recent change. This case from mri/ruby/test_syntax should pass:
We do reject the first form, but our error message is wrong ("SyntaxError: -e:1: no . floating literal anymore; put 0 before dot"). I'm not sure about the others.
The text was updated successfully, but these errors were encountered: