summaryrefslogtreecommitdiff
path: root/test/files/run/reify_typerefs_1a.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reify_typerefs_1a.scala')
-rw-r--r--test/files/run/reify_typerefs_1a.scala9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/files/run/reify_typerefs_1a.scala b/test/files/run/reify_typerefs_1a.scala
index 15d8d17835..53033e210c 100644
--- a/test/files/run/reify_typerefs_1a.scala
+++ b/test/files/run/reify_typerefs_1a.scala
@@ -1,4 +1,7 @@
-import scala.reflect.mirror._
+import scala.reflect.runtime.universe._
+import scala.reflect.runtime.{universe => ru}
+import scala.reflect.runtime.{currentMirror => cm}
+import scala.tools.reflect.ToolBox
class Expression {
override def toString = "Expression"
@@ -9,7 +12,7 @@ object Test extends App {
List(new Expression, new Expression)
};
- val toolbox = mkToolBox()
+ val toolbox = cm.mkToolBox()
val evaluated = toolbox.runExpr(code.tree)
println("evaluated = " + evaluated)
-}
+} \ No newline at end of file