Skip to content

Conversation

tgodzik
Copy link
Contributor

@tgodzik tgodzik commented May 8, 2025

This is still not a perfect fix, since we add the full prefix, but that's the current status quo. Making prefixes shorter is something we need to work on separately.

Copy link
Member

@dwijnand dwijnand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable. Maybe it risks making non-conflicting alias symbols to be fully qualified (e.g. val alias prefix?). But it's using the fully qualified name as a fallback (though without root there is still some risk).

Perhaps you want to add the "fully qualified name" caveat in code, so it's documented in more than just the PR.

We still add the full prefix in case of conflicts, but that's the current status quo. Making prefixes shorter is something we need to work on separately.
@tgodzik tgodzik requested a review from dwijnand May 9, 2025 17:56
@tgodzik tgodzik merged commit f784625 into scala:main May 10, 2025
29 checks passed
@tgodzik tgodzik deleted the fix-path-dep branch May 10, 2025 12:54
tgodzik added a commit to scala/scala3-lts that referenced this pull request May 12, 2025
This is still not a perfect fix, since we add the full prefix, but
that's the current status quo. Making prefixes shorter is something we
need to work on separately.
tgodzik added a commit to scala/scala3-lts that referenced this pull request May 12, 2025
This is still not a perfect fix, since we add the full prefix, but
that's the current status quo. Making prefixes shorter is something we
need to work on separately.
[Cherry-picked f784625][modified]
@WojciechMazur WojciechMazur added this to the 3.7.2 milestone Jun 18, 2025
bjaglin added a commit to bjaglin/scalafix that referenced this pull request Aug 18, 2025
bjaglin added a commit to bjaglin/scalafix that referenced this pull request Aug 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants