summaryrefslogtreecommitdiff
path: root/test/files/run/t5276_1b.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t5276_1b.scala')
-rw-r--r--test/files/run/t5276_1b.scala5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/files/run/t5276_1b.scala b/test/files/run/t5276_1b.scala
index 31582201fb..1ff25504ca 100644
--- a/test/files/run/t5276_1b.scala
+++ b/test/files/run/t5276_1b.scala
@@ -5,11 +5,10 @@ import reflect.runtime.Mirror.ToolBox
object Test extends App {
val code = scala.reflect.Code.lift{
implicit lazy val x = 2
- implicitly[Int]
+ println(implicitly[Int])
};
val reporter = new ConsoleReporter(new Settings)
val toolbox = new ToolBox(reporter)
- val ttree = toolbox.typeCheck(code.tree)
- toolbox.runExpr(ttree)
+ toolbox.runExpr(code.tree)
}