Skip to content

Commit a93cdf4

Browse files
committed
Avoid repeated evaluations of parentIsYounger.
1 parent 1aa8fbb commit a93cdf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1250,8 +1250,8 @@ object SymDenotations {
12501250
if (parentIsYounger) {
12511251
incremental.println(s"parents of $this are invalid; symbol id = ${symbol.id}, copying ...\n")
12521252
invalidateInheritedInfo()
1253-
firstRunId = ctx.runId
12541253
}
1254+
firstRunId = ctx.runId
12551255
this
12561256
}
12571257

0 commit comments

Comments
 (0)