From ba3a9e05a6276fec976f4e53923e70b58b9f647b Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Fri, 14 Sep 2012 16:40:46 +0200 Subject: SI-6342 cleans up toolbox API 1) parseExpr => parse 2) runExpr => eval 3) Introduces compile(Tree): () => Any, since it has frequent uses --- test/pending/run/reify_closure5b.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/pending/run/reify_closure5b.scala') diff --git a/test/pending/run/reify_closure5b.scala b/test/pending/run/reify_closure5b.scala index 3e5e1bd328..0e506bf7b5 100644 --- a/test/pending/run/reify_closure5b.scala +++ b/test/pending/run/reify_closure5b.scala @@ -12,7 +12,7 @@ object Test extends App { } val toolbox = cm.mkToolBox() - val dyn = toolbox.runExpr(new Foo(ys).fun.tree) + val dyn = toolbox.eval(new Foo(ys).fun.tree) dyn.asInstanceOf[Int => Int] } -- cgit v1.2.3