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 7cda5b5 commit dfbe8d4Copy full SHA for dfbe8d4
compiler/src/dotty/tools/dotc/core/TypeComparer.scala
@@ -66,6 +66,7 @@ class TypeComparer(@constructorOnly initctx: Context) extends ConstraintHandling
66
67
private def touchHKGadt[T](body: => T): T =
68
val savedHKGADTtouched = HKGADTtouched
69
+ HKGADTtouched = true
70
val res = body
71
HKGADTtouched = savedHKGADTtouched
72
res
0 commit comments