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 #15423: Refine Matchtype checking #15500

Merged
merged 4 commits into from
Jun 22, 2022

Conversation

Kordyjan
Copy link
Contributor

Backport of #15423

Take up scala#13780 again, but refine it so that abstract types are allowed in match type
reduction as long as they uniquely instantiate type parameters of the type pattern.

Fixes scala#11982
Allow uninstantiated match parameters if the result of the match does
not depend on them.
@Kordyjan Kordyjan added this to the 3.2.0 backports milestone Jun 22, 2022
@Kordyjan Kordyjan requested a review from odersky June 22, 2022 13:38
@odersky odersky merged commit 6e7adfc into scala:release-3.2.0 Jun 22, 2022
@odersky odersky deleted the backport-15423 branch June 22, 2022 16:51
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.

None yet

2 participants