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 "(Re-)Drop inaccessible subclasses from refineUsingParent" to 3.3 LTS #112

Open
wants to merge 3 commits into
base: lts-3.3
Choose a base branch
from

Conversation

tgodzik
Copy link

@tgodzik tgodzik commented Mar 8, 2025

Backports scala#21930 to the 3.3.6.

PR submitted by the release tooling.
[skip ci]

dwijnand added 3 commits March 8, 2025 21:07
In tests/pos/i21790.scala, O.A has no class symbol, because it's an
inaccessible private class of S.  But in tests/warn/i21860.scala,
Shape.Triangle doesn't have a "classSymbol" because it has multiple -
Shape and Corners.  So use .classSymbols.isEmpty instead of
!.classSymbol.exists

[Cherry-picked 21e5f3c]
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