We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28c6381 commit 2da3c58Copy full SHA for 2da3c58
compiler/src/dotty/tools/dotc/core/TypeComparer.scala
@@ -1092,7 +1092,6 @@ class TypeComparer(@constructorOnly initctx: Context) extends ConstraintHandling
1092
val tyconIsInjective =
1093
(tycon1sym.isClass || tycon2sym.isClass)
1094
&& (!touchedGADTs || gadtIsInstantiated)
1095
- && !frozenGadt
1096
1097
inFrozenGadtIf(!tyconIsInjective) {
1098
if tycon1sym == tycon2sym && tycon1sym.isAliasType then
0 commit comments