-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Closed
Labels
good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
Description
- Version: v10.x
- Platform: all
- Subsystem: repl
What steps will reproduce the bug?
$ node
> function foo() {
... let n = 10n;
Thrown:
let n = 10n;
^
SyntaxError: Unexpected end of input
>
How often does it reproduce? Is there a required condition?
Reproduces all the time.
What is the expected behavior?
Should not cause an exception.
What do you see instead?
An exception.
Additional information
Works on master. Works when run from a script instead of the repl.
Metadata
Metadata
Assignees
Labels
good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.