Skip to content

Incorrect warning with -no-indent #21749

Closed
@OlegYch

Description

@OlegYch

Compiler version

3.3-3.5 with -no-indent option

Minimized code

1 match {
  case 1 =>
    case class Test(name: String)
    Nil
}

Output

4 |      Nil
  |      ^
  |      Line is indented too far to the right, or a `{` or `:` is missing

Expectation

no warning

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions