File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/core Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ abstract class Periods { thisCtx: Context =>
2121 op(thisCtx.fresh.setPeriod(pd))
2222
2323 /** Execute `op` at given phase id */
24- def atPhase [T ](pid : PhaseId )(op : Context ?=> T ): T =
24+ inline def atPhase [T ](pid : PhaseId )(inline op : Context ?=> T ): T =
2525 op(using thisCtx.withPhase(pid))
2626
2727 /** The period containing the current period where denotations do not change.
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ trait Phases {
3131 }
3232
3333 /** Execute `op` at given phase */
34- def atPhase [T ](phase : Phase )(op : Context ?=> T ): T =
34+ inline def atPhase [T ](phase : Phase )(inline op : Context ?=> T ): T =
3535 atPhase(phase.id)(op)
3636
3737 def atNextPhase [T ](op : Context ?=> T ): T = atPhase(phase.next)(op)
You can’t perform that action at this time.
0 commit comments