Skip to content

span/lastOffset of identifier tokens is wrong when operator is directly followed by comment #10268

Closed
@SrTobi

Description

@SrTobi

Minimized code

object Main {
  def test[T] = ?//test
}

Output

image

Expectation

Only the ? should be underlined.

Also happens with multi line comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions