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 e886676 + 8186fe3 commit 05e5eabCopy full SHA for 05e5eab
tests/neg-macros/i11386/Macro_1.scala
@@ -11,7 +11,7 @@ object test {
11
inline def notNull(inline i: Int): Unit = ${notNullImpl('i)}
12
13
def notNullImpl(expr: Expr[Int])(using quotes: Quotes): Expr[Unit] = {
14
- println(expr.show)
+ expr.show
15
expr.value.foreach(i => if(i == 0) quotes.reflect.report.error("test"))
16
'{()}
17
}
0 commit comments