Skip to content

Commit ddcaeca

Browse files
Remove unnecessary println from macro tests (#16397)
These leak into the output of `testCompilation`.
2 parents c896c46 + d46bfbb commit ddcaeca

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

tests/pos-macros/i8858/Macro_1.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ def mcrImpl(expr: Expr[Any])(using Quotes): Expr[Any] =
55
import quotes.reflect._
66
expr.asTerm match
77
case Inlined(_, _, id1) =>
8-
println(id1.tpe.widen.show)
8+
id1.tpe.widen.show
99
'{()}

tests/pos-macros/i9684/Macro_1.scala

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ object X {
99
def printTypeImpl[A:Type](x:Expr[A])(using Quotes): Expr[String] = {
1010
import quotes.reflect._
1111
val value: String = x.asTerm.tpe.show
12-
println(value)
1312
Expr( value )
1413
}
1514

0 commit comments

Comments
 (0)