From b675dfe56fd04d1dec5333c43b02aa6df24bb4a2 Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Tue, 26 Jan 2021 14:19:31 +0100 Subject: [PATCH] Make `quotes` parameter an inline parameter Same as in #11164 --- library/src/scala/quoted/Quotes.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/src/scala/quoted/Quotes.scala b/library/src/scala/quoted/Quotes.scala index 0a9edb21c21e..09a7d11bfd6a 100644 --- a/library/src/scala/quoted/Quotes.scala +++ b/library/src/scala/quoted/Quotes.scala @@ -12,7 +12,7 @@ import scala.reflect.TypeTest * } * ``` */ -inline def quotes(using q: Quotes): q.type = q +transparent inline def quotes(using inline q: Quotes): q.type = q /** Quotation context provided by a macro expansion or in the scope of `scala.quoted.staging.run`. * Used to perform all operations on quoted `Expr` or `Type`.