Skip to content

Commit

Permalink
Add back the checkedPeriod update
Browse files Browse the repository at this point in the history
  • Loading branch information
noti0na1 committed Sep 4, 2024
1 parent 1df045c commit 61d0aad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/src/dotty/tools/dotc/core/Types.scala
Original file line number Diff line number Diff line change
Expand Up @@ -2459,6 +2459,7 @@ object Types extends TypeUtils {
if (sym.isValidInCurrentRun) sym else denot.symbol
case name =>
(if (denotationIsCurrent) lastDenotation.asInstanceOf[Denotation] else denot).symbol
if checkedPeriod.code != NowhereCode then checkedPeriod = ctx.period
result

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

0 comments on commit 61d0aad

Please sign in to comment.