Skip to content

Commit 8adffb7

Browse files
committed
Fix rebase breakage
1 parent fea6fff commit 8adffb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/core/Contexts.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ object Contexts {
9595
inline def atPhaseNoEarlier[T](limit: Phase)(inline op: Context ?=> T)(using Context): T =
9696
op(using if !limit.exists || limit <= ctx.phase then ctx else ctx.withPhase(limit))
9797

98-
inline private def inMode[T](mode: Mode)(inline op: Context ?=> T)(using ctx: Context): T =
98+
inline def inMode[T](mode: Mode)(inline op: Context ?=> T)(using ctx: Context): T =
9999
op(using if mode != ctx.mode then ctx.fresh.setMode(mode) else ctx)
100100

101101
inline def withMode[T](mode: Mode)(inline op: Context ?=> T)(using ctx: Context): T =

0 commit comments

Comments
 (0)