diff options
Diffstat (limited to 'test/pending/run/macro-reify-tagless-b/Test_2.scala')
-rw-r--r-- | test/pending/run/macro-reify-tagless-b/Test_2.scala | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/pending/run/macro-reify-tagless-b/Test_2.scala b/test/pending/run/macro-reify-tagless-b/Test_2.scala deleted file mode 100644 index 09ca6ba30e..0000000000 --- a/test/pending/run/macro-reify-tagless-b/Test_2.scala +++ /dev/null @@ -1,13 +0,0 @@ -object Test extends App { - //val list: List[String] = Macros.foo("hello world") - //println(list) - - import scala.reflect.runtime.universe._ - import scala.reflect.runtime.{currentMirror => cm} - import scala.tools.reflect.ToolBox - val tpt = AppliedTypeTree(Ident(definitions.ListClass), List(Ident(definitions.StringClass))) - val rhs = Apply(Select(Ident(TermName("Macros")), TermName("foo")), List(Literal(Constant("hello world")))) - val list = ValDef(NoMods, TermName("list"), tpt, rhs) - val tree = Block(list, Apply(Select(Ident(definitions.PredefModule), TermName("println")), List(Ident(list.name)))) - println(cm.mkToolBox().eval(tree)) -} |