File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/dotty/tools/dotc/core Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -11,17 +11,17 @@ abstract class Periods extends DotClass { self: Context =>
11
11
import Periods ._
12
12
13
13
/** The current phase identifier */
14
- def phaseId = period.phaseId
14
+ final def phaseId = period.phaseId
15
15
16
16
/** The current run identifier */
17
- def runId = period.runId
17
+ final def runId = period.runId
18
18
19
19
/** Execute `op` at given period */
20
- def atPeriod [T ](pd : Period )(op : Context => T ) =
20
+ final def atPeriod [T ](pd : Period )(op : Context => T ) =
21
21
op(ctx.fresh.withPeriod(pd))
22
22
23
23
/** Execute `op` at given phase id */
24
- def atPhase [T ](pid : PhaseId )(op : Context => T ) =
24
+ final def atPhase [T ](pid : PhaseId )(op : Context => T ) =
25
25
op(ctx.fresh.withPhase(pid))
26
26
}
27
27
You can’t perform that action at this time.
0 commit comments