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 2da3c58 commit 0b323dcCopy full SHA for 0b323dc
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