Skip to content

Commit 05e5eab

Browse files
authored
Merge pull request #11524 from dotty-staging/fix-test
Avoid printing while compiling test
2 parents e886676 + 8186fe3 commit 05e5eab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/neg-macros/i11386/Macro_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ object test {
1111
inline def notNull(inline i: Int): Unit = ${notNullImpl('i)}
1212

1313
def notNullImpl(expr: Expr[Int])(using quotes: Quotes): Expr[Unit] = {
14-
println(expr.show)
14+
expr.show
1515
expr.value.foreach(i => if(i == 0) quotes.reflect.report.error("test"))
1616
'{()}
1717
}

0 commit comments

Comments
 (0)