From bbc4f7a3234937e5f79e8310e6fff2f9b4af0f98 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 29 Jan 2013 09:44:37 +0100 Subject: New Context architecture based on cloning --- 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 461ef2f17..e3c73fdb3 100644 --- a/src/dotty/tools/dotc/core/Denotations.scala +++ b/src/dotty/tools/dotc/core/Denotations.scala @@ -334,7 +334,7 @@ object Denotations { } else { // not found, current points to highest existing variant var startPid = current.validFor.lastPhaseId + 1 - val trans = ctx.root.transformersFor(current) + val trans = ctx.transformersFor(current) val endPid = trans.nextTransformer(startPid + 1).phaseId - 1 next = trans.nextTransformer(startPid) transform current if (next eq current) -- cgit v1.2.3