We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26de50a commit 5708a56Copy full SHA for 5708a56
docs/docs/reference/metaprogramming/macros.md
@@ -33,7 +33,7 @@ prints it again in an error message if it evaluates to `false`.
33
```scala
34
import scala.quoted._
35
36
-inline def assert(expr: => Boolean): Unit =
+inline def assert(inline expr: Boolean): Unit =
37
${ assertImpl('expr) }
38
39
def assertImpl(expr: Expr[Boolean])(using QuoteContext) = '{
0 commit comments