summaryrefslogtreecommitdiff
path: root/test/files/run/t5224.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t5224.scala')
-rw-r--r--test/files/run/t5224.scala5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/files/run/t5224.scala b/test/files/run/t5224.scala
index 2226a69a05..93b244e03e 100644
--- a/test/files/run/t5224.scala
+++ b/test/files/run/t5224.scala
@@ -1,9 +1,8 @@
-import scala.reflect._
-import scala.reflect.api._
+import scala.reflect.mirror._
class Foo(bar: String) extends ClassfileAnnotation
object Test extends App {
- val tree = scala.reflect.Code.lift{@Foo(bar = "qwe") class C}.tree
+ val tree = reify{@Foo(bar = "qwe") class C}.tree
println(tree.toString)
} \ No newline at end of file