diff options
author | Martin Odersky <odersky@gmail.com> | 2016-01-19 15:53:07 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2016-01-19 16:44:30 +0100 |
commit | a93cdf4077003dad3428a4af34ba30c3d812dc78 (patch) | |
tree | c18b1e3e0f825aecc50ed1192f5ba8d0c7d6932d /src/dotty/tools/dotc/core/SymDenotations.scala | |
parent | 1aa8fbb56e95d7aea04b338d3edf7d53077b804a (diff) | |
download | dotty-a93cdf4077003dad3428a4af34ba30c3d812dc78.tar.gz dotty-a93cdf4077003dad3428a4af34ba30c3d812dc78.tar.bz2 dotty-a93cdf4077003dad3428a4af34ba30c3d812dc78.zip |
Avoid repeated evaluations of parentIsYounger.
Diffstat (limited to 'src/dotty/tools/dotc/core/SymDenotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/SymDenotations.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/SymDenotations.scala b/src/dotty/tools/dotc/core/SymDenotations.scala index d384bd5c4..d1abfbfb6 100644 --- a/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/src/dotty/tools/dotc/core/SymDenotations.scala @@ -1250,8 +1250,8 @@ object SymDenotations { if (parentIsYounger) { incremental.println(s"parents of $this are invalid; symbol id = ${symbol.id}, copying ...\n") invalidateInheritedInfo() - firstRunId = ctx.runId } + firstRunId = ctx.runId this } |