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
Parse Error: BigInt with hexadecimal #525
Comments
Thanks! I didn't know one could use hex in BigDecimals |
Octal and binary are allowed too, I'll add them in. |
@fabiosantoscode, this commit broke 1 test with scientific format: |
@fabiosantoscode this regressed in 4.6.12 |
Test case: |
@paulmillr thank you very much for this report. Next time though do open a new issue! It seems to be caused by the lowercase. The workaround is to use uppercase hex. |
@fabiosantoscode thanks. Is there a possibility this will be fixed by terser? |
This is simple enough to be fixed by today or tomorrow. I have to tend to my job though :) |
@paulmillr fix is in master. Terser gets released when most of the world is in working hours. |
awesome! |
Bug report
Version
terser 4.4.0
Complete CLI command
$ terser example.js
terser
inputref: https://github.com/odanado/terser-bigint-hexadecimal
terser
output or errorExpected result
succeed parse.
The text was updated successfully, but these errors were encountered: