Skip to content

Conversation

@tgodzik
Copy link

@tgodzik tgodzik commented Nov 5, 2025

Backports scala#24068 to the 3.3.7.

PR submitted by the release tooling.
[skip ci]

fixes: scala#22513

Currently, if the upper bounds of opaque types are sealed, they pass
exhaustivityCheckable, but exhaustivity checks are not handled correctly
because the compiler preventing from decomposing them.
The guard was introduced in
[scala#19368](scala#19368), but the tests
still pass even without this guard.
[Cherry-picked f4e6239]
Base automatically changed from backport-lts-3.3-24123 to lts-3.3 November 6, 2025 08:38
@tgodzik
Copy link
Author

tgodzik commented Nov 6, 2025

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

Reference

@tgodzik tgodzik merged commit 3849032 into lts-3.3 Nov 6, 2025
22 checks passed
@tgodzik tgodzik deleted the backport-lts-3.3-24068 branch November 6, 2025 08:38
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