From 5d368f8adad392625475e21e1ccb10eaad3d2b78 Mon Sep 17 00:00:00 2001 From: Artem Korsakov Date: Wed, 25 May 2022 08:15:39 +0300 Subject: [PATCH] Update quotes.md --- _overviews/scala3-macros/tutorial/quotes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_overviews/scala3-macros/tutorial/quotes.md b/_overviews/scala3-macros/tutorial/quotes.md index 109e509e59..54ea43d438 100644 --- a/_overviews/scala3-macros/tutorial/quotes.md +++ b/_overviews/scala3-macros/tutorial/quotes.md @@ -154,7 +154,7 @@ given ToExpr[Boolean] with { } given ToExpr[StringContext] with { - def apply(x: StringContext)(using Quotes) = + def apply(stringContext: StringContext)(using Quotes) = val parts = Varargs(stringContext.parts.map(Expr(_))) '{ StringContext($parts: _*) } }