Skip to content

Commit ad0da27

Browse files
committed
Fix key for this resolution
1 parent 4edadb2 commit ad0da27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/transform/init/Semantic.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ class Semantic {
777777
case warm: Warm =>
778778
val obj = heap(warm)
779779
val outerCls = klass.owner.enclosingClass.asClass
780-
resolveThis(target, obj.outers(outerCls), outerCls, source)
780+
resolveThis(target, obj.outers(klass), outerCls, source)
781781
case RefSet(refs) =>
782782
refs.map(ref => resolveThis(target, ref, klass, source)).join
783783
case fun: Fun =>

0 commit comments

Comments
 (0)