summaryrefslogtreecommitdiff
path: root/test/files/run/t6989/Test_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t6989/Test_2.scala')
-rw-r--r--test/files/run/t6989/Test_2.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/t6989/Test_2.scala b/test/files/run/t6989/Test_2.scala
index 3f578158e8..932a369f6c 100644
--- a/test/files/run/t6989/Test_2.scala
+++ b/test/files/run/t6989/Test_2.scala
@@ -19,12 +19,12 @@ package object foo {
def test(sym: Symbol): Unit = {
printSymbolDetails(sym)
if (sym.isClass || sym.isModule) {
- sym.typeSignature.declarations.toList.sortBy(_.name.toString) foreach test
+ sym.info.decls.toList.sortBy(_.name.toString) foreach test
}
}
def printSymbolDetails(sym: Symbol): Unit = {
- def stableSignature(sym: Symbol) = sym.typeSignature match {
+ def stableSignature(sym: Symbol) = sym.info match {
case ClassInfoType(_, _, _) => "ClassInfoType(...)"
case tpe => tpe.toString
}