Skip to content

REPL should raise Exception immediately when it gets naturally invalid multi-line. #3611

Closed
@hhsprings

Description

I'm using v5.0.0 on Windows.

Of course this is invalid as javascript:

a = 3.5e
-5;
console.log(a);

But REPL enters multi-line editting mode:

> a = 3.5e
... 
... 
... .break

We have no way to exit from the mode except .break (or Ctrl-C), and .break will make nothing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.replIssues and PRs related to the REPL subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions