Skip to content

Commit e66f108

Browse files
committed
Fix outer resolution
1 parent 054f343 commit e66f108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ object Potentials {
9595
bottomClsSummary.parentOuter.find((k, v) => k.derivesFrom(cls)) match {
9696
case Some((parentCls, pots)) =>
9797
val rebased: Potentials = outerPots.flatMap { Potentials.asSeenFrom(pots, _) }
98-
resolveOuter(parentCls, outerPots, cls)
98+
resolveOuter(parentCls, rebased, cls)
9999
case None => ??? // impossible
100100
}
101101
}

0 commit comments

Comments
 (0)