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 962fb94 commit a6f27dfCopy full SHA for a6f27df
compiler/src/dotty/tools/dotc/transform/init/Semantic.scala
@@ -475,7 +475,7 @@ class Semantic {
475
case tp @ ThisType(tref) =>
476
if tref.symbol.is(Flags.Package) then Result(Hot, noErrors)
477
else
478
- val value = resolveThis(tp.classSymbol.asClass, thisV, klass)
+ val value = resolveThis(tref.classSymbol.asClass, thisV, klass)
479
Result(value, noErrors)
480
481
case _: TermParamRef | _: RecThis =>
0 commit comments