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

Backport "Heal member-select on opaque reference" to LTS #21131

Merged
merged 3 commits into from
Jul 9, 2024

Conversation

WojciechMazur
Copy link
Contributor

Backports #19730 to the LTS branch.

PR submitted by the release tooling.
[skip ci]

[Cherry-picked 6230405][modified]
Prior to the next commit, I broke up the logic into internal methods, so
some can be reused, consuming then in a big Tree#orElse chain.  I also
took the opportunity to rename the method, to more easily distinguish it
from the other typedSelect.

[Cherry-picked c477cea][modified]
When the prefix of an opaque isn't the .this reference of the module
class, then its RHS isn't visible.  TypeComparer uses ctx.owner to
"heal" or "lift" this type such that it is.  We reuse that logic for
member selection.

[Cherry-picked 4443395][modified]
Base automatically changed from lts-20488 to lts-3.3 July 9, 2024 16:55
@WojciechMazur
Copy link
Contributor Author

No regressions detected in the community build up to lts-20857.

Reference

@WojciechMazur WojciechMazur merged commit b71f89d into lts-3.3 Jul 9, 2024
19 checks passed
@WojciechMazur WojciechMazur deleted the lts-19730 branch July 9, 2024 16:55
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.

1 participant