Skip to content

Fix #9844: Exclude private members of wrong classes from findMember #9847

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
Sep 22, 2020

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Sep 22, 2020

When performing a findMember on a ThisType, we go on looking in the underlying type.
If that underlying type is a user-defined self type, we have to
make sure we do not include any private members that are not members of the
current class in the resulting denotation.

When performing a findMember on a ThisType, we go lookm in the underlying type.
If that underlying type is a user-defined self type, we have to
make sure we do not include any private members that are not members of the
current class in the resulting denotation.
@smarter smarter merged commit 27a59ec into scala:master Sep 22, 2020
@smarter smarter deleted the fix-#9844 branch September 22, 2020 17:37
@Kordyjan Kordyjan added this to the 3.0.0 milestone Aug 2, 2023
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