From 19c82207f5e42e10c48299658f3863bf1da4eb8b Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Tue, 28 Apr 2015 11:20:17 +0200 Subject: fix a bug in transformAfter: iterate over a new denotation instead of an old one. --- src/dotty/tools/dotc/core/Denotations.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dotty/tools/dotc/core/Denotations.scala b/src/dotty/tools/dotc/core/Denotations.scala index fc8bbc84f..cbf5c6f09 100644 --- a/src/dotty/tools/dotc/core/Denotations.scala +++ b/src/dotty/tools/dotc/core/Denotations.scala @@ -645,7 +645,7 @@ object Denotations { current1.validFor = current.validFor current1.replaceDenotation(current) } - current = current.nextInRun + current = current1.nextInRun } } -- cgit v1.2.3