We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 60458e2 commit 1a192faCopy full SHA for 1a192fa
compiler/src/dotty/tools/dotc/transform/PCPCheckAndHeal.scala
@@ -152,8 +152,8 @@ class PCPCheckAndHeal(@constructorOnly ictx: Context) extends TreeMapWithStages(
152
// TODO move logic to levelOK
153
val a = //tp.isInstanceOf[ThisType] ||
154
tp.isInstanceOf[ThisType] || // heal references to `this.type`
155
- (sym.isType && sym.is(Param)) // heal references of type parameters
156
-// !sym.maybeOwner.isType
+ (sym.isType && sym.is(Param)) || // heal references of type parameters
+ !sym.maybeOwner.isType
157
// println("===============")
158
// println(a)
159
// println()
0 commit comments