aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Phases.scala
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2014-12-11 23:58:05 +0100
committerGuillaume Martres <smarter@ubuntu.com>2014-12-12 16:42:14 +0100
commitae655d4300ff62e8951514960da53a256e508596 (patch)
tree2ec6ae3b6300ee9e0b2ec41c69d9b8bd4c588ffa /src/dotty/tools/dotc/core/Phases.scala
parentca2ed3f6e609122781fe9b25ce16b4a4dd80f56a (diff)
downloaddotty-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.scala2
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