diff options
author | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-04-28 11:20:17 +0200 |
---|---|---|
committer | Dmitry Petrashko <dmitry.petrashko@gmail.com> | 2015-04-30 14:26:09 +0200 |
commit | 19c82207f5e42e10c48299658f3863bf1da4eb8b (patch) | |
tree | 8634ecdef74ce749dc6d9f3a510ddaba2df8ae25 /src/dotty/tools/dotc/core/Denotations.scala | |
parent | 52c56a275561cd43e7ed06a2bc70084e87d1b18e (diff) | |
download | dotty-19c82207f5e42e10c48299658f3863bf1da4eb8b.tar.gz dotty-19c82207f5e42e10c48299658f3863bf1da4eb8b.tar.bz2 dotty-19c82207f5e42e10c48299658f3863bf1da4eb8b.zip |
fix a bug in transformAfter: iterate over a new denotation instead of an old one.
Diffstat (limited to 'src/dotty/tools/dotc/core/Denotations.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Denotations.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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 } } |