Skip to content

Backport "Fix accessibleType for package object prefixes" #18088

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 2 commits into from
Jun 28, 2023

Conversation

Kordyjan
Copy link
Contributor

Backports #18057
Fixes #15821

odersky added 2 commits June 28, 2023 13:47
Making a package object explicit re-computes the denotations of an overloaded method.
So it should not be done after we have pruned down those denotations by an accessibility
test. We now do it before checking accessibility.

Fixes scala#15821
@Kordyjan Kordyjan added this to the 3.3.1 milestone Jun 28, 2023
@Kordyjan Kordyjan enabled auto-merge June 28, 2023 11:52
@Kordyjan Kordyjan mentioned this pull request Jun 28, 2023
14 tasks
@Kordyjan Kordyjan merged commit d6af4f9 into scala:release-3.3.1 Jun 28, 2023
@Kordyjan Kordyjan deleted the backport-18057 branch June 28, 2023 13:20
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