Skip to content

Commit 410a15a

Browse files
committed
doc(tasty-reflect): revert QuoteContext -> Context
1 parent a2dec53 commit 410a15a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/docs/reference/metaprogramming/tasty-reflect.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,9 @@ of type List[Symbol] if we want to collect symbols). The code below, for
124124
example, collects the pattern variables of a tree.
125125

126126
```scala
127-
def collectPatternVariables(tree: Tree)(implicit qctx: QuoteContext): List[Symbol] = {
127+
def collectPatternVariables(tree: Tree)(implicit ctx: Context): List[Symbol] = {
128128
val acc = new TreeAccumulator[List[Symbol]] {
129-
def apply(syms: List[Symbol], tree: Tree)(implicit qctx: QuoteContext) = tree match {
129+
def apply(syms: List[Symbol], tree: Tree)(implicit ctx: Context) = tree match {
130130
case Bind(_, body) => apply(tree.symbol :: syms, body)
131131
case _ => foldOver(syms, tree)
132132
}

0 commit comments

Comments
 (0)