-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
repl: show exception for out-of-range unicode escape sequence #3971
Labels
repl
Issues and PRs related to the REPL subsystem.
Comments
related: #3611 |
REPL treats all these errors as |
@bnoordhuis see #5189 |
@bnoordhuis @thefourtheye @targos Working! ~ 🙈 ₹ node
> '\u{110000}'
SyntaxError: Unexpected token ILLEGAL
at Object.exports.createScript (vm.js:47:10)
at REPLServer.defaultEval (repl.js:255:25)
at bound (domain.js:280:14)
at REPLServer.runBound [as eval] (domain.js:293:12)
at REPLServer.<anonymous> (repl.js:489:10)
at emitOne (events.js:101:20)
at REPLServer.emit (events.js:188:7)
at REPLServer.Interface._onLine (readline.js:232:10)
at REPLServer.Interface._line (readline.js:574:8)
at REPLServer.Interface._ttyWrite (readline.js:851:14)
> process.version
'v6.3.0' |
Nice! |
This was referenced Aug 11, 2020
This was referenced Mar 16, 2021
This was referenced Aug 17, 2021
This was referenced Feb 12, 2022
This was referenced Mar 22, 2022
This was referenced Mar 22, 2022
This was referenced Aug 19, 2022
This was referenced Nov 29, 2023
This was referenced May 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The REPL hangs waiting for completion because of the
SyntaxError: Unexpected token ILLEGAL
exception.The text was updated successfully, but these errors were encountered: