diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2013-10-18 16:52:28 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2013-10-18 16:59:18 +0200 |
commit | a6d6550826c3fbd04948382893ce3147d298ffbc (patch) | |
tree | 0aa749c13ed646d8379f7e0ee037d87c97180f76 /test/files/run/repl-term-macros.check | |
parent | 3b4dc75710ac51de729224929690422d1b44e3ad (diff) | |
download | scala-a6d6550826c3fbd04948382893ce3147d298ffbc.tar.gz scala-a6d6550826c3fbd04948382893ce3147d298ffbc.tar.bz2 scala-a6d6550826c3fbd04948382893ce3147d298ffbc.zip |
changes some manual tree constructions in macro tests to quasiquotes
Diffstat (limited to 'test/files/run/repl-term-macros.check')
-rw-r--r-- | test/files/run/repl-term-macros.check | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/repl-term-macros.check b/test/files/run/repl-term-macros.check index da3c70739e..63bafe401b 100644 --- a/test/files/run/repl-term-macros.check +++ b/test/files/run/repl-term-macros.check @@ -9,7 +9,7 @@ import language.experimental.macros scala> -scala> def impl1(c: Context) = { import c.universe._; c.Expr[Unit](Literal(Constant(()))) } +scala> def impl1(c: Context) = { import c.universe._; c.Expr[Unit](q"()") } impl1: (c: scala.reflect.macros.Context)c.Expr[Unit] scala> def foo1 = macro impl1 @@ -19,7 +19,7 @@ scala> foo1 scala> -scala> def impl2(c: Context)() = { import c.universe._; c.Expr[Unit](Literal(Constant(()))) } +scala> def impl2(c: Context)() = { import c.universe._; c.Expr[Unit](q"()") } impl2: (c: scala.reflect.macros.Context)()c.Expr[Unit] scala> def foo2() = macro impl2 @@ -29,7 +29,7 @@ scala> foo2() scala> -scala> def impl3(c: Context)(x: c.Expr[Int])(y: c.Expr[Int]) = { import c.universe._; c.Expr[Unit](Literal(Constant(()))) } +scala> def impl3(c: Context)(x: c.Expr[Int])(y: c.Expr[Int]) = { import c.universe._; c.Expr[Unit](q"()") } impl3: (c: scala.reflect.macros.Context)(x: c.Expr[Int])(y: c.Expr[Int])c.Expr[Unit] scala> def foo3(x: Int)(y: Int) = macro impl3 |