From ae655d4300ff62e8951514960da53a256e508596 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Thu, 11 Dec 2014 23:58:05 +0100 Subject: Phases: set the period correctly --- src/dotty/tools/dotc/core/Phases.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dotty') 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 -- cgit v1.2.3