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
oxc playground
esbuild
For the following input:
(-1n).toString()
oxc produces:
-1n.toString()
this is incorrect, as the second negats the return value of the call expression, whereas the first negats the big int
The text was updated successfully, but these errors were encountered:
fix(codegen): print parenthesis on negative bigint lit when neccessary (
b6d16f4
#8258) closes #8257 i couldn't really write a test for this, as it only happens when codegen + minifier are used together. Regression should be prevented by the 262 suite in #8256 (failed CI run before i implemented this fix: https://github.com/oxc-project/oxc/actions/runs/12621310419/job/35168016825)
Fixed in #8258.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
oxc playground
esbuild
For the following input:
oxc produces:
this is incorrect, as the second negats the return value of the call expression, whereas the first negats the big int
The text was updated successfully, but these errors were encountered: