diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-09-14 16:40:46 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-09-15 00:55:51 +0200 |
commit | ba3a9e05a6276fec976f4e53923e70b58b9f647b (patch) | |
tree | 760044e050d6aced6bf1f1c23c720ed5f7ae1289 /test/pending/run/macro-reify-tagless-b/Test_2.scala | |
parent | 4767fc21c6f9c8266ba98505c6a5ea2c95107e65 (diff) | |
download | scala-ba3a9e05a6276fec976f4e53923e70b58b9f647b.tar.gz scala-ba3a9e05a6276fec976f4e53923e70b58b9f647b.tar.bz2 scala-ba3a9e05a6276fec976f4e53923e70b58b9f647b.zip |
SI-6342 cleans up toolbox API
1) parseExpr => parse
2) runExpr => eval
3) Introduces compile(Tree): () => Any, since it has frequent uses
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 | 2 |
1 files changed, 1 insertions, 1 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 index 4649963d05..ebd35ffe47 100644 --- a/test/pending/run/macro-reify-tagless-b/Test_2.scala +++ b/test/pending/run/macro-reify-tagless-b/Test_2.scala @@ -9,5 +9,5 @@ object Test extends App { val rhs = Apply(Select(Ident("Macros"), newTermName("foo")), List(Literal(Constant("hello world")))) val list = ValDef(NoMods, newTermName("list"), tpt, rhs) val tree = Block(list, Apply(Select(Ident(definitions.PredefModule), newTermName("println")), List(Ident(list.name)))) - println(cm.mkToolBox().runExpr(tree)) + println(cm.mkToolBox().eval(tree)) } |