diff options
author | Martin Odersky <odersky@gmail.com> | 2013-09-24 13:13:07 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2013-09-24 13:13:07 +0200 |
commit | 50a84e0e900fd5a67a4701fd2730a0c0bf66b834 (patch) | |
tree | e9f87f17798a8075b0198994afcea9eb322c63f5 /src | |
parent | 1988a740718bc5edd28d8be358576d7033cadd6d (diff) | |
download | dotty-50a84e0e900fd5a67a4701fd2730a0c0bf66b834.tar.gz dotty-50a84e0e900fd5a67a4701fd2730a0c0bf66b834.tar.bz2 dotty-50a84e0e900fd5a67a4701fd2730a0c0bf66b834.zip |
Fixed handling of packages in world without HasFixedSym
Packages are always permanent; never reloaded.
Diffstat (limited to 'src')
-rw-r--r-- | src/dotty/tools/dotc/core/Types.scala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/Types.scala b/src/dotty/tools/dotc/core/Types.scala index 33eeff5c8..5a6307751 100644 --- a/src/dotty/tools/dotc/core/Types.scala +++ b/src/dotty/tools/dotc/core/Types.scala @@ -1165,6 +1165,8 @@ object Types { private def computeDenot(implicit ctx: Context): Denotation = { val denot = lastDenotationOrSym match { + case d: SymDenotation if d is ValidForever => + d.current case d: Denotation => if (d.validFor.runId == ctx.period.runId) d.current else loadDenot |