Skip to content

Commit 762f361

Browse files
Update library/src/scala/quoted/unsafe/UnsafeExpr.scala
1 parent 38fd630 commit 762f361

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/quoted/unsafe/UnsafeExpr.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ object UnsafeExpr {
1717
* in this case the undelying argument of `x` will be `bar()`.
1818
*
1919
* Warning: Using the undelying argument directly in the expansion of a macro may
20-
* change the parameter semantics from by-value to by-name.
20+
* change the parameter semantics as by-value parameter could be re-evaluated.
2121
*/
2222
def underlyingArgument[T](expr: Expr[T])(given qctx: QuoteContext): Expr[T] = {
2323
import qctx.tasty.{given, _}

0 commit comments

Comments
 (0)