diff options
author | Martin Odersky <odersky@gmail.com> | 2014-01-15 14:01:16 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2014-01-15 14:01:16 +0100 |
commit | 2112492ec908019d1515128c68f1c737518cac3c (patch) | |
tree | cb0809dde7bc41095c207ad5d2d65bbf8155d611 /src/dotty/tools/dotc/core/Symbols.scala | |
parent | 3d9a664e75307410b8845ecc1540a00924867912 (diff) | |
download | dotty-2112492ec908019d1515128c68f1c737518cac3c.tar.gz dotty-2112492ec908019d1515128c68f1c737518cac3c.tar.bz2 dotty-2112492ec908019d1515128c68f1c737518cac3c.zip |
Avoid stale symbol errors for package objects
Happened (albeit non-deterministally) when compiling parsing/*.scala
Diffstat (limited to 'src/dotty/tools/dotc/core/Symbols.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Symbols.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Symbols.scala b/src/dotty/tools/dotc/core/Symbols.scala index 271ae7a85..b454add44 100644 --- a/src/dotty/tools/dotc/core/Symbols.scala +++ b/src/dotty/tools/dotc/core/Symbols.scala @@ -314,7 +314,7 @@ object Symbols { private[this] var lastDenot: SymDenotation = _ /** Set the denotation of this symbol */ - private[Symbols] def denot_=(d: SymDenotation) = + private[core] def denot_=(d: SymDenotation) = lastDenot = d /** The current denotation of this symbol */ |