summaryrefslogtreecommitdiff
path: root/test/files/run/t8192/Test_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t8192/Test_2.scala')
-rw-r--r--test/files/run/t8192/Test_2.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/t8192/Test_2.scala b/test/files/run/t8192/Test_2.scala
index 15f684eb3f..29f187c171 100644
--- a/test/files/run/t8192/Test_2.scala
+++ b/test/files/run/t8192/Test_2.scala
@@ -21,10 +21,10 @@ object Test extends App {
if (sym == NoSymbol) "NoSymbol"
else s"${defString(sym)} => ${sym.asMethod.isPrimaryConstructor}"
}
- sym.typeSignature
+ sym.info
println(sym.toString)
println(s"primary constructor: ${showCtor(sym.primaryConstructor)}")
- val ctors = sym.typeSignature.members.filter(_.name == nme.CONSTRUCTOR).map(sym => showCtor(sym))
+ val ctors = sym.info.members.filter(_.name == termNames.CONSTRUCTOR).map(sym => showCtor(sym))
ctors.toList.sorted.foreach(println)
}