We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 692719b commit 4830522Copy full SHA for 4830522
compiler/src/dotty/tools/dotc/core/Contexts.scala
@@ -51,10 +51,10 @@ object Contexts {
51
private val initialStore = store8
52
53
/** The current context */
54
- def ctx(using ctx: Context): Context = ctx
+ transparent inline def ctx(using ctx: Context): Context = ctx
55
56
/** Run `op` with given context */
57
- inline def inContext[T](c: Context)(inline op: Context ?=> T): T =
+ transparent inline def inContext[T](c: Context)(inline op: Context ?=> T): T =
58
op(using c)
59
60
/** A context is passed basically everywhere in dotc.
0 commit comments