From a6d6550826c3fbd04948382893ce3147d298ffbc Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Fri, 18 Oct 2013 16:52:28 +0200 Subject: changes some manual tree constructions in macro tests to quasiquotes --- test/files/pos/t7461/Macros_1.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/pos/t7461') diff --git a/test/files/pos/t7461/Macros_1.scala b/test/files/pos/t7461/Macros_1.scala index fdaf33e8c8..8621650f77 100644 --- a/test/files/pos/t7461/Macros_1.scala +++ b/test/files/pos/t7461/Macros_1.scala @@ -6,7 +6,7 @@ object Macros { import c.universe._ val wut = c.typeCheck(Select(Literal(Constant(10)), newTermName("$minus")), silent = true) // println(showRaw(wut, printIds = true, printTypes = true)) - c.Expr[Unit](Literal(Constant(()))) + c.Expr[Unit](q"()") } def foo = macro impl -- cgit v1.2.3