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

Fix overloaded default methods test in RefChecks #20218

Merged
merged 2 commits into from
Apr 18, 2024

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Apr 18, 2024

It used cls.info instead of cls.thisType, which caused symbols accessible only through the self type of cls to be forgotten.

Fixes #18555

It used `cls.info` instead of `cls.thisType`, which caused symbols
accessible only through the self type of `cls` to be forgotten.

Fixes scala#18555
@odersky odersky assigned odersky and nicolasstucki and unassigned odersky Apr 18, 2024
@nicolasstucki nicolasstucki merged commit e9fd9e1 into scala:main Apr 18, 2024
19 checks passed
@nicolasstucki nicolasstucki deleted the fix-18555 branch April 18, 2024 14:45
@Kordyjan Kordyjan added this to the 3.5.0 milestone May 10, 2024
WojciechMazur added a commit that referenced this pull request Jul 6, 2024
…21078)

Backports #20218 to the LTS branch.

PR submitted by the release tooling.
[skip ci]
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.

PR #16373 introduces a "cannot resolve reference to type" compilation error on ReactiveMongo
3 participants