Skip to content

Conversation

abgruszecki
Copy link
Contributor

We need to consider singleton types as well when checking for invariant refinement.

Fixes #12390.

@odersky odersky assigned abgruszecki and unassigned odersky May 10, 2021
@abgruszecki abgruszecki enabled auto-merge May 10, 2021 11:51
@abgruszecki abgruszecki merged commit 96b91d4 into scala:master May 10, 2021
@abgruszecki abgruszecki deleted the fix/i12390 branch May 10, 2021 11:58
@Kordyjan Kordyjan added this to the 3.0.1 milestone Aug 2, 2023
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.

Compiler cannot unify types of a GADT
3 participants