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.
2 parents 26de50a + 5708a56 commit c58c65fCopy full SHA for c58c65f
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