-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
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
Span includes trailing comma #16872
Comments
@bishabosha @anatoliykmetyuk didn't one of you spend some time looking at this last week...? |
I had a look with someone at the Scala Spree in San Francisco but no results :) |
This issue is still present as of 3.5.0 at 8563571. def Test =
for {
a <- List(1)
b <- List(a)
if (
a,
b,
) == (1, 2)
} yield b
|
This issue was picked for the Scala Issue Spree of tomorrow, May 21st. @dwijnand, @rochala, @jan-pieter, @nmcb will be working on it. If you have any insight into the issue or guidance on how to fix it, please leave it here. |
Compiler version
3.3.0-RC2
Minimized code
Output
second
b
's span will include the trailing coma. This shows up both when using Interactive as well in semanticdbExpectation
Trailing coma is excluded from span
The text was updated successfully, but these errors were encountered: