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.
2 parents 0ff1e2a + 0f33d4d commit 2240b29Copy full SHA for 2240b29
compiler/src/dotty/tools/dotc/transform/CacheAliasImplicits.scala
@@ -56,6 +56,7 @@ class CacheAliasImplicits extends MiniPhase with IdentityDenotTransformer { this
56
if rhsTpe.isStable => false
57
case rhsTpe @ TermRef(pre: ThisType, _)
58
if rhsTpe.isStable && pre.cls == sym.owner.enclosingClass => false
59
+ case rhsTpe: ThisType => false
60
case _ => true
61
}
62
case _ => false
0 commit comments