summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-sorted-decls.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reflection-sorted-decls.scala')
-rw-r--r--test/files/run/reflection-sorted-decls.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/reflection-sorted-decls.scala b/test/files/run/reflection-sorted-decls.scala
index 5616e10b3b..8dcb0f3ec6 100644
--- a/test/files/run/reflection-sorted-decls.scala
+++ b/test/files/run/reflection-sorted-decls.scala
@@ -2,7 +2,7 @@ object Test {
def main(args: Array[String]) {
class Foo(val a: Int, val b: Int, val c: Int)
import scala.reflect.runtime.{currentMirror => cm}
- val decls = cm.classSymbol(classOf[Foo]).typeSignature.declarations
+ val decls = cm.classSymbol(classOf[Foo]).info.decls
decls.sorted.toList.filter(!_.isMethod) foreach System.out.println
}
}