Skip to content

Commit 266ee03

Browse files
Merge pull request #11217 from dotty-staging/change-signature-of-quotes
Make `quotes` parameter an inline parameter
2 parents b3c4691 + b675dfe commit 266ee03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/quoted/Quotes.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import scala.reflect.TypeTest
1212
* }
1313
* ```
1414
*/
15-
inline def quotes(using q: Quotes): q.type = q
15+
transparent inline def quotes(using inline q: Quotes): q.type = q
1616

1717
/** Quotation context provided by a macro expansion or in the scope of `scala.quoted.staging.run`.
1818
* Used to perform all operations on quoted `Expr` or `Type`.

0 commit comments

Comments
 (0)