summaryrefslogtreecommitdiff
path: root/test/files/run/reify_closure2a.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reify_closure2a.scala')
-rw-r--r--test/files/run/reify_closure2a.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/files/run/reify_closure2a.scala b/test/files/run/reify_closure2a.scala
index 6c28514c2b..cf367aa63f 100644
--- a/test/files/run/reify_closure2a.scala
+++ b/test/files/run/reify_closure2a.scala
@@ -10,8 +10,7 @@ object Test extends App {
val reporter = new ConsoleReporter(new Settings)
val toolbox = new ToolBox(reporter)
- val ttree = toolbox.typeCheck(fun.tree)
- val dyn = toolbox.runExpr(ttree)
+ val dyn = toolbox.runExpr(fun.tree)
dyn.asInstanceOf[Int => Int]
}