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 0261ed0 commit 1847038Copy full SHA for 1847038
src/dotty/tools/dotc/core/Types.scala
@@ -1296,7 +1296,7 @@ object Types {
1296
case d: SymDenotation =>
1297
if (this.isInstanceOf[WithFixedSym]) d.current
1298
else if (d.validFor.runId == ctx.runId || ctx.stillValid(d))
1299
- if (prefix.isTightPrefix(d.owner) || d.isConstructor) d.current
+ if (d.exists && prefix.isTightPrefix(d.owner) || d.isConstructor) d.current
1300
else recomputeMember(d) // symbol could have been overridden, recompute membership
1301
else {
1302
val newd = loadDenot
0 commit comments