-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
Octal literal larger than 2^58 - 1
causes Deno to hang indefinitely
#10954
Octal literal larger than 2^58 - 1
causes Deno to hang indefinitely
#10954
Comments
This bug also causes Deno lint to hang, and therefore causes the Deno VSCode extension to hang. I encountered this bug after pasting a series of long binary numbers into a page and formatting (format on save was enabled) the document before adding the |
This apparently is caused by the same cause as #10893. Running
This error is identical to the one reported in #10893. |
After some investigation, the hang happens only in release build, not in debug build because in debug build Rust checks for overflow on every arithmetic operation. |
Fixes denoland#10893, denoland#10954 Related to denoland/deno_lint#732
Fixes denoland#10893 Fixes denoland#10954 Related to denoland/deno_lint#732
Running:
throws
SyntaxError: Octal literals are not allowed in strict mode.
Running:
hangs indefinitely.
The text was updated successfully, but these errors were encountered: