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: When simplifying match types, ensure fully defined before reducing #12068

Merged
merged 2 commits into from
Apr 14, 2021

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Apr 12, 2021

Backport of #11980

Fixes scala#11977

Previously the match types were more often fully defined because inlining at Typer
caused more situations where type variables were instantiated. Now that inlining
is done later, we need to compensate. I believe it's a good idea anyway since it
means we can reduce more match types.
@odersky odersky changed the title When simplifying match types, ensure fully defined before reducing Backport: When simplifying match types, ensure fully defined before reducing Apr 12, 2021
@odersky odersky assigned anatoliykmetyuk and unassigned odersky Apr 13, 2021
@anatoliykmetyuk anatoliykmetyuk merged commit 6dff34c into scala:release-3.0.0 Apr 14, 2021
@anatoliykmetyuk anatoliykmetyuk deleted the fix-11977-release branch April 14, 2021 08:04
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