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 8bb0ca7 commit 1f9812eCopy full SHA for 1f9812e
compiler/src/dotty/tools/dotc/core/TypeComparer.scala
@@ -172,7 +172,7 @@ class TypeComparer(@constructorOnly initctx: Context) extends ConstraintHandling
172
173
private inline def inFrozenGadtIf[T](cond: Boolean)(inline op: T): T = {
174
val savedFrozenGadt = frozenGadt
175
- frozenGadt = cond
+ frozenGadt ||= cond
176
try op finally frozenGadt = savedFrozenGadt
177
}
178
0 commit comments