Skip to content

Commit 1847038

Browse files
committed
Survive Nodenotation in computeDenot
1 parent 0261ed0 commit 1847038

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dotty/tools/dotc/core/Types.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1296,7 +1296,7 @@ object Types {
12961296
case d: SymDenotation =>
12971297
if (this.isInstanceOf[WithFixedSym]) d.current
12981298
else if (d.validFor.runId == ctx.runId || ctx.stillValid(d))
1299-
if (prefix.isTightPrefix(d.owner) || d.isConstructor) d.current
1299+
if (d.exists && prefix.isTightPrefix(d.owner) || d.isConstructor) d.current
13001300
else recomputeMember(d) // symbol could have been overridden, recompute membership
13011301
else {
13021302
val newd = loadDenot

0 commit comments

Comments
 (0)