diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2014-12-11 23:58:05 +0100 |
---|---|---|
committer | Guillaume Martres <smarter@ubuntu.com> | 2014-12-12 16:42:14 +0100 |
commit | ae655d4300ff62e8951514960da53a256e508596 (patch) | |
tree | 2ec6ae3b6300ee9e0b2ec41c69d9b8bd4c588ffa /src/dotty/tools/dotc/core/Phases.scala | |
parent | ca2ed3f6e609122781fe9b25ce16b4a4dd80f56a (diff) | |
download | dotty-ae655d4300ff62e8951514960da53a256e508596.tar.gz dotty-ae655d4300ff62e8951514960da53a256e508596.tar.bz2 dotty-ae655d4300ff62e8951514960da53a256e508596.zip |
Phases: set the period correctly
Diffstat (limited to 'src/dotty/tools/dotc/core/Phases.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/Phases.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/Phases.scala b/src/dotty/tools/dotc/core/Phases.scala index 43178f110..ffe2ddbea 100644 --- a/src/dotty/tools/dotc/core/Phases.scala +++ b/src/dotty/tools/dotc/core/Phases.scala @@ -241,7 +241,7 @@ object Phases { if (start >= FirstPhaseId) assert(myPeriod == Periods.InvalidPeriod, s"phase $this has already been used once; cannot be reused") myBase = base - myPeriod = Period(start, end) + myPeriod = Period(NoRunId, start, end) myErasedTypes = prev.getClass == classOf[Erasure] || prev.erasedTypes myFlatClasses = prev.getClass == classOf[Flatten] || prev.flatClasses myRefChecked = prev.getClass == classOf[RefChecks] || prev.refChecked |