Skip to content

Commit 61d0aad

Browse files
committed
Add back the checkedPeriod update
1 parent 1df045c commit 61d0aad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: compiler/src/dotty/tools/dotc/core/Types.scala

+1
Original file line numberDiff line numberDiff line change
@@ -2459,6 +2459,7 @@ object Types extends TypeUtils {
24592459
if (sym.isValidInCurrentRun) sym else denot.symbol
24602460
case name =>
24612461
(if (denotationIsCurrent) lastDenotation.asInstanceOf[Denotation] else denot).symbol
2462+
if checkedPeriod.code != NowhereCode then checkedPeriod = ctx.period
24622463
result
24632464

24642465
/** There is a denotation computed which is valid (somewhere in) the

0 commit comments

Comments
 (0)