-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Closed
Labels
replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.
Description
- Version: master
- Platform: Windows 7 x64
- Subsystem: repl
- Recently added REPL multiline history handling streamlines multiline expressions into one-line expressions, but line comments may change syntax and hang execution:
> [
... 1 // comment
... ]
[ 1 ]
> [ 1 // comment]
...This is relevant if someone pastes copied code blocks with line comments in the REPL. It seems comments need to be stripped.
- Another case that needs special handling, multiline template literals:
> `a
... b
... c`
'a\nb\nc'
> bc`
...cc @antsmartian
Metadata
Metadata
Assignees
Labels
replIssues and PRs related to the REPL subsystem.Issues and PRs related to the REPL subsystem.