Closed sungshik closed 2 weeks ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 49%. Comparing base (
0eea46e
) to head (904f0be
). Report is 7 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Excellent fix.
Right, offset 0 length 2 means columns 0 to 1 inclusive, so 2 is not in that range and would not overlap. Just logging the thinking here.
This fix may have some unforseen impact in code that compensates for the bug at (indirect) call sites.
I recommend we test this with rascal-core running with this implementation on the standard library and the big tests at least once before merging. If there are no problems: merge. If there are many, we could fix those simultaneously and then merge.
@PaulKlint has done this by now using the big-test script, which always takes the latest main commit from rascal (unless configured otherwise). a wait, it's not merged yet. we could point the script at this branch.
@sungshik can we add a test for this case?
Tests added!
Follow this run to see if it breaks new things: https://github.com/usethesource/rascal-core-big-tests/actions/runs/11720235621
although I would expect the rename code in vs code to be more impacted by changes in this logic.
All the test pass, also the big rascal-core. So merging this.
Before this PR:
After this PR: