We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 38fd630 commit 762f361Copy full SHA for 762f361
library/src/scala/quoted/unsafe/UnsafeExpr.scala
@@ -17,7 +17,7 @@ object UnsafeExpr {
17
* in this case the undelying argument of `x` will be `bar()`.
18
*
19
* Warning: Using the undelying argument directly in the expansion of a macro may
20
- * change the parameter semantics from by-value to by-name.
+ * change the parameter semantics as by-value parameter could be re-evaluated.
21
*/
22
def underlyingArgument[T](expr: Expr[T])(given qctx: QuoteContext): Expr[T] = {
23
import qctx.tasty.{given, _}
0 commit comments