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

Warn when implicit is selected from package prefix under -Xsource:3 #12919

Closed
lrytz opened this issue Nov 30, 2023 · 0 comments · Fixed by scala/scala#10621
Closed

Warn when implicit is selected from package prefix under -Xsource:3 #12919

lrytz opened this issue Nov 30, 2023 · 0 comments · Fixed by scala/scala#10621
Assignees
Labels
Milestone

Comments

@lrytz
Copy link
Member

lrytz commented Nov 30, 2023

In Scala 3 the implicit scope no longer includes package prefixes.

Warn when such an implicit is selected under -Xsource:3migrate and probably stop searching in the prefix with -Xsource:3cross.

Carved out from #12886 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant