Skip to content

Commit 3ac5e28

Browse files
committed
Make quotes parameter an inline parameter
Same as in #11164
1 parent ab03d87 commit 3ac5e28

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)