aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/core/Periods.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/dotty/tools/dotc/core/Periods.scala')
-rw-r--r--src/dotty/tools/dotc/core/Periods.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dotty/tools/dotc/core/Periods.scala b/src/dotty/tools/dotc/core/Periods.scala
index 55a485201..8a1b65f2c 100644
--- a/src/dotty/tools/dotc/core/Periods.scala
+++ b/src/dotty/tools/dotc/core/Periods.scala
@@ -56,13 +56,13 @@ object Periods {
class Period(val code: Int) extends AnyVal {
/** The run identifier of this period. */
- def runId: Int = code >>> (PhaseWidth * 2)
+ def runId: RunId = code >>> (PhaseWidth * 2)
/** The phase identifier of this single-phase period. */
- def phaseId: Int = (code >>> PhaseWidth) & PhaseMask
+ def phaseId: PhaseId = (code >>> PhaseWidth) & PhaseMask
/** The last phase of this period */
- def lastPhaseId: Int =
+ def lastPhaseId: PhaseId =
(code >>> PhaseWidth) & PhaseMask
/** The first phase of this period */