Skip to content

Span includes trailing comma #16872

Closed
@tgodzik

Description

@tgodzik

Compiler version

3.3.0-RC2

Minimized code

  for {
    a <- List(1)
    b <- List(a)
    if (
      a,
      b,
    ) == (1, 2)
 } yield b

Output

second b's span will include the trailing coma. This shows up both when using Interactive as well in semanticdb

Expectation

Trailing coma is excluded from span

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