Infix operation desugaring should preserve original span#22703
Infix operation desugaring should preserve original span#22703rochala wants to merge 5 commits intoscala:mainfrom
Conversation
|
Sample diff of my suggestion that moves the point showing point (column of the error pos) is the op of the infix op, not start of left operand. |
som-snytt
left a comment
There was a problem hiding this comment.
I'll look at the other pos diffs from my suggestion, to check if they also make sense.
I agree with the logic of the original change here, but can't explain why "composition of positions" is so hard. I understand my suggested change without thinking much.
|
@rochala @som-snytt What's the status of this PR? is this still being worked on? |
cb2e767 to
91dfe9f
Compare
|
I rebased with a minor tweak. Probably will require an updated check file. |
|
@som-snytt do you want to finish this or should I do it ? |
|
@rochala I will keep pushing. "Learning by breaking." I will notify if I hit my perplexity budget. Thanks! |
|
Thanks again, had similar idea but for me it was Claude :D |
|
The CB c failure is mill, of course. |
91dfe9f to
5316777
Compare
Found during debugging of #22566
Basically, we created new apply based on
arginsideParensthat led to shorter span.