File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ package quoted {
6060 * Given list of statements `s1 :: s2 :: ... :: Nil` and an expression `e` the resulting expression
6161 * will be equivalent to `'{ $s1; $s2; ...; $e }`.
6262 */
63- def block [T ](statements : List [Expr [_]], expr : Expr [T ])(implicit qctx : QuoteContext ): Expr [T ] = {
63+ def block [T ](statements : List [Expr [_]], expr : Expr [T ])(given qctx : QuoteContext ): Expr [T ] = {
6464 import qctx .tasty ._
6565 Block (statements.map(_.unseal), expr.unseal).seal.asInstanceOf [Expr [T ]]
6666 }
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ package quoted {
77 type `$splice` = T
88
99 /** Show a source code like representation of this type without syntax highlight */
10- def show (implicit qctx : QuoteContext ): String = qctx.show(this , SyntaxHighlight .plain)
10+ def show (given qctx : QuoteContext ): String = qctx.show(this , SyntaxHighlight .plain)
1111
1212 /** Show a source code like representation of this type */
13- def show (syntaxHighlight : SyntaxHighlight )(implicit qctx : QuoteContext ): String = qctx.show(this , syntaxHighlight)
13+ def show (syntaxHighlight : SyntaxHighlight )(given qctx : QuoteContext ): String = qctx.show(this , syntaxHighlight)
1414
1515 }
1616
You can’t perform that action at this time.
0 commit comments