From 2112492ec908019d1515128c68f1c737518cac3c Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Wed, 15 Jan 2014 14:01:16 +0100 Subject: Avoid stale symbol errors for package objects Happened (albeit non-deterministally) when compiling parsing/*.scala --- src/dotty/tools/dotc/core/Symbols.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dotty/tools/dotc/core/Symbols.scala') 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 */ -- cgit v1.2.3