Skip to content

Backport "Dealias before checking for member in lint" to 3.3 LTS #313

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
Apr 25, 2025

Conversation

tgodzik
Copy link

@tgodzik tgodzik commented Apr 25, 2025

Backports scala#22708 to the 3.3.7.

PR submitted by the release tooling.
[skip ci]

Fixes scala#22705
Fixes scala#22706 
Fixes scala#22727 

Follow-up to scala#22502 by inserting a
`dealias` when arriving at `target` type.

Refactored the body of `hidden` to make it easier to read. Adjusted the
doc for the same reason.

As a reminder to self, the original reason for special handling of
aliases was due to subclassing, but overrides are excluded. (One could
restore that warning for edge cases.)

The long doc explaining the handling of leading implicits is moved to
the end (as an appendix).

Despite best efforts, I was unable to make the doc longer than the code.
[Cherry-picked d362492]
Base automatically changed from backport-lts-3.3-22750 to lts-3.3 April 25, 2025 15:21
@tgodzik
Copy link
Author

tgodzik commented Apr 25, 2025

No regressions detected in the community build up to backport-lts-3.3-22757.

Reference

@tgodzik tgodzik merged commit 542de07 into lts-3.3 Apr 25, 2025
22 checks passed
@tgodzik tgodzik deleted the backport-lts-3.3-22708 branch April 25, 2025 15:22
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.

2 participants