We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb8dafd commit 9541ec8Copy full SHA for 9541ec8
staging/src/scala/quoted/staging/staging.scala
@@ -16,7 +16,7 @@ package object staging {
16
* This method should not be called in a context where there is already has a `QuoteContext`
17
* such as within a `run` or a `withQuoteContext`.
18
*/
19
- def run[T](expr: (given QuoteContext) => Expr[T]) given (toolbox: Toolbox): T = toolbox.run(expr(given _))
+ def run[T](expr: (given QuoteContext) => Expr[T])(given toolbox: Toolbox): T = toolbox.run(expr(given _))
20
21
/** Provide a new quote context within the scope of the argument that is only valid within the scope the argument.
22
* Return the result of the argument.
0 commit comments