Skip to content

optional braces no longer work in repl #22844

Closed
@bishabosha

Description

@bishabosha

Compiler version

3.7.0-RC1, 3.7.1-RC1-bin-20250319-270fc87-NIGHTLY

Minimized code

paste this code into the repl, it is impossible to execute the code by pressing return key, the editor just keeps adding newlines.

object foo:
  val bar = 23

Output

scala> object foo:
     |   val bar = 23
     | 
     | 
     | 
     | 
     | 
     | 
     | 
     | 
     | 

Expectation

work as in 3.6.4

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions