Skip to content

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

@hhsprings

Description

@hhsprings

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions