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.
this
1 parent 4b81eda commit 0f33d4dCopy full SHA for 0f33d4d
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