-
-
Notifications
You must be signed in to change notification settings - Fork 37.2k
repl: '...' should not be detected as REPL keyword #14426
Copy link
Copy link
Closed
Labels
confirmed-bugIssues and PRs for confirmed bugs.Issues and PRs for confirmed bugs.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
Description
Activity
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues and PRs for confirmed bugs.Issues and PRs for confirmed bugs.good first issueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
Should instead throw this error:
$ node -p '...[]' [eval]:1 ...[] ^^^ SyntaxError: Unexpected token ...