Skip to content

Don't check bounds in match type cases at CC #23738

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 2 commits into from
Aug 15, 2025

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Aug 14, 2025

For soundness it's enough to check bounds in reduced match types.

@odersky odersky requested a review from natsukagami August 14, 2025 13:36
For soundness it's enough to check bounds in reduced match types.
@odersky odersky force-pushed the fix-hk-boundscheck branch from 186331b to 1231728 Compare August 14, 2025 13:55
@odersky odersky changed the title Don't check bounds of higher-kinded applications at CC Don't check bounds in match type cases at CC Aug 14, 2025
@natsukagami
Copy link
Contributor

LGTM but not to the tests 😁 Is it because of the .normalized?

@odersky odersky merged commit c5f63b2 into scala:main Aug 15, 2025
48 of 49 checks passed
@odersky odersky deleted the fix-hk-boundscheck branch August 15, 2025 14:12
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