From 18ae13dcf4f5d40d528e2bcf43a19e84bf475084 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Mon, 10 Feb 2014 11:10:20 +0100 Subject: Make Definitions load all symbols in current runId. --- src/dotty/tools/dotc/core/Denotations.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dotty/tools/dotc/core/Denotations.scala') diff --git a/src/dotty/tools/dotc/core/Denotations.scala b/src/dotty/tools/dotc/core/Denotations.scala index 356e68f72..0d35f3cf9 100644 --- a/src/dotty/tools/dotc/core/Denotations.scala +++ b/src/dotty/tools/dotc/core/Denotations.scala @@ -531,7 +531,7 @@ object Denotations { } def staleSymbolError(implicit ctx: Context) = - throw new StaleSymbol(s"stale symbol; $this, defined in run ${myValidFor.runId} is referred to in run ${ctx.period.runId}") + throw new StaleSymbol(s"stale symbol; $this in ${this.asSymDenotation.owner}, defined in run ${myValidFor.runId}, is referred to in run ${ctx.period.runId}") /** For ClassDenotations only: * If caches influenced by parent classes are still valid, the denotation -- cgit v1.2.3