Skip to content
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

backend computes line number from source of position #21763

Merged
merged 3 commits into from
Oct 16, 2024

Conversation

bishabosha
Copy link
Member

@bishabosha bishabosha commented Oct 14, 2024

fixes #21762

This makes it possible to implement line number correction for Mill build files under Scala 3

@bishabosha
Copy link
Member Author

bishabosha commented Oct 14, 2024

we could backport this also to 3.5.x/3.6.x series (it doesn't introduce any new methods)

@smarter smarter merged commit 8431d84 into scala:main Oct 16, 2024
28 checks passed
@smarter smarter deleted the fix-backend-code-linenumber branch October 16, 2024 10:42
@bishabosha bishabosha added the backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. label Oct 16, 2024
@WojciechMazur WojciechMazur added backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done" and removed backport:nominated If we agree to backport this PR, replace this tag with "backport:accepted", otherwise delete it. labels Oct 16, 2024
@WojciechMazur WojciechMazur added this to the 3.6.0 milestone Oct 16, 2024
WojciechMazur added a commit that referenced this pull request Oct 17, 2024
…6.0 (#21793)

Backports #21763 to 3.6.0-RC1

---------

Co-authored-by: Jamie Thompson <bishbashboshjt@gmail.com>
@WojciechMazur WojciechMazur added backport:done This PR was successfully backported. and removed backport:accepted This PR needs to be backported, once it's been backported replace this tag by "backport:done" labels Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:done This PR was successfully backported.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Backend line-number computation doesn't account for underlying SourceFiles.
4 participants