-
-
Notifications
You must be signed in to change notification settings - Fork 34.6k
Closed
Labels
replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
Description
Version
v16.13.0 (and possibly others)
Platform
Linux foo 5.4.0-58-generic 64~18.04.1-Ubuntu SMP Wed Dec 9 17:11:11 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
repl
What steps will reproduce the bug?
Compile node with --without-inspector, then start up the internal repl:
$ node
Welcome to Node.js v16.13.0.
Type ".help" for more information.
> const r = 10;
undefined
Now type r and press enter in the repl to have the repl display the value of r. You will find it instead forces the autocompletion of r to re and thus gives (the expected):
Uncaught ReferenceError: re is not defined
Pressing space after r and then enter in the repl causes the autocomplete to no longer complete and correctly shows the value of r.
How often does it reproduce? Is there a required condition?
Every time.
What is the expected behavior?
For the repl to not be disruptive when node is compiled with --without-inspector.
What do you see instead?
No response
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.