summaryrefslogtreecommitdiff
path: root/test/files/run/reify_closure7.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reify_closure7.scala')
-rw-r--r--test/files/run/reify_closure7.scala3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/files/run/reify_closure7.scala b/test/files/run/reify_closure7.scala
index 942c2cda9c..46002d8d6c 100644
--- a/test/files/run/reify_closure7.scala
+++ b/test/files/run/reify_closure7.scala
@@ -19,8 +19,7 @@ object Test extends App {
if (clo == null) {
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)
clo = dyn.asInstanceOf[Int => Int]
}