summaryrefslogtreecommitdiff
path: root/test/files/run/t6860.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t6860.scala')
-rw-r--r--test/files/run/t6860.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/t6860.scala b/test/files/run/t6860.scala
index 2dcc2a67f7..c2f8db02c2 100644
--- a/test/files/run/t6860.scala
+++ b/test/files/run/t6860.scala
@@ -12,8 +12,8 @@ object Test {
import scala.reflect.runtime.universe._
def main(args: Array[String]): Unit = {
- val members = typeOf[A].declarations.toList
- val tpes = members flatMap (_.annotations) map (_.tpe)
+ val members = typeOf[A].decls.toList
+ val tpes = members flatMap (_.annotations) map (_.tree.tpe)
tpes.map(_.toString).sorted foreach println
}