We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hack documentation says you can use underscores as digit separators but the grammar errors if you use them.
Use an integer with underscore digit separators
$a = 123_456;
Which currently parses as the following (notice the ERROR)
(expression_statement (binary_expression left: (variable) (ERROR (integer)) right: (qualified_identifier (identifier))))
I expect usage of the underscore digit separator to parse properly.
The text was updated successfully, but these errors were encountered:
I'm currently working on this issue and will submit a pull request soon. #72
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Hack documentation says you can use underscores as digit separators but the grammar errors if you use them.
Requirements
To Reproduce
Use an integer with underscore digit separators
Which currently parses as the following (notice the ERROR)
Expected behavior
I expect usage of the underscore digit separator to parse properly.
The text was updated successfully, but these errors were encountered: