We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nameSpan
Select
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
3.2.2
val a = (1 + 2 + 3).toString
Select( qualifier = Apply( fun = Select( qualifier = Apply( fun = Select(qualifier = Literal(const = ( = 1)), name = +), args = List(Literal(const = ( = 2))) ), name = + ), args = List(Literal(const = ( = 3))) ), name = toString ) // select span [8..20..28] // qualifier span <9..18> // nameSpan (toString span) [8..20..16]
Because qualifier.span.start > select.span.start, this is treated as right associative operator
qualifier.span.start > select.span.start
toString span would be correct, i.e. [20..20..28]
toString
[20..20..28]
The text was updated successfully, but these errors were encountered:
bugfix: Incorrect semanticdb span on Selectable (#18576)
cc40aca
Semanticdb range on selectDynamic in `foo.bar` previously contained `.bar` instead of `bar` Connected to scalameta/metals#5621 Also closes #16771 by porting scalameta/metals#4907
Successfully merging a pull request may close this issue.
Compiler version
3.2.2
Minimized code
Output
Because
qualifier.span.start > select.span.start
, this is treated as right associative operatorExpectation
toString
span would be correct, i.e.[20..20..28]
The text was updated successfully, but these errors were encountered: