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
E.g., the expression "2" prints as "2.0". So, the parse.pretty.parse tests fail.
The text was updated successfully, but these errors were encountered:
Couldn't reproduce. Quickly tried the following tests:
parseJavaScriptFromString "" "2" -- => Right (Script (line 1, column 1) [ExprStmt (line 1, column 1) (ListExpr (line 1, column 1) [IntLit (line 1, column 1) 2])])
renderExpression $ IntLit () 2 -- => "2"
javaScript $ Script () [ExprStmt () (IntLit () 2)] -- => "2;"
Seems that both the parser and the pretty-printer work correctly, at least, w.r.t. numbers. Could you, please, post a small test-case for the bug?
Sorry, something went wrong.
No branches or pull requests
E.g., the expression "2" prints as "2.0". So, the parse.pretty.parse tests fail.
The text was updated successfully, but these errors were encountered: