Skip to content

bugfix: Fix enumeration issues when Value is imported #23124

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

Merged
merged 1 commit into from
May 10, 2025

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
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.

2 participants