Skip to content

Commit

Permalink
Remove unnecessary println from macro tests
Browse files Browse the repository at this point in the history
These leak into the output of `testCompilation`.
  • Loading branch information
nicolasstucki committed Nov 23, 2022
1 parent 75f35a9 commit d46bfbb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion tests/pos-macros/i8858/Macro_1.scala
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ def mcrImpl(expr: Expr[Any])(using Quotes): Expr[Any] =
import quotes.reflect._
expr.asTerm match
case Inlined(_, _, id1) =>
println(id1.tpe.widen.show)
id1.tpe.widen.show
'{()}
1 change: 0 additions & 1 deletion tests/pos-macros/i9684/Macro_1.scala
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ object X {
def printTypeImpl[A:Type](x:Expr[A])(using Quotes): Expr[String] = {
import quotes.reflect._
val value: String = x.asTerm.tpe.show
println(value)
Expr( value )
}

Expand Down

0 comments on commit d46bfbb

Please sign in to comment.