Skip to content

REPL doesn't evaluate when we disable rendering #24443

@hamzaremmal

Description

@hamzaremmal

Compiler version

a3f3ae3

Minimized code

Start the REPL and do the following:

scala> :settings -Xrepl-disable-display 
scala> System.exit(123)
scala> 

Output

The expression is not evaluated and the E part of REPL is missing (instead of R).

Expectation

The flag says that we disable rendering, not evaluation.
Running the REPL without the adding the flag will indeed evaluate the expression and kill the REPL with exit code 123 in this example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    itype:bugstat:needs triageEvery issue needs to have an "area" and "itype" label

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions