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 054f343 commit e66f108Copy full SHA for e66f108
compiler/src/dotty/tools/dotc/transform/init/Potentials.scala
@@ -95,7 +95,7 @@ object Potentials {
95
bottomClsSummary.parentOuter.find((k, v) => k.derivesFrom(cls)) match {
96
case Some((parentCls, pots)) =>
97
val rebased: Potentials = outerPots.flatMap { Potentials.asSeenFrom(pots, _) }
98
- resolveOuter(parentCls, outerPots, cls)
+ resolveOuter(parentCls, rebased, cls)
99
case None => ??? // impossible
100
}
101
0 commit comments