summaryrefslogtreecommitdiff
path: root/test/files/run/t8192/Macros_1.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t8192/Macros_1.scala')
-rw-r--r--test/files/run/t8192/Macros_1.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/t8192/Macros_1.scala b/test/files/run/t8192/Macros_1.scala
index 2089273d6d..ddad9fb872 100644
--- a/test/files/run/t8192/Macros_1.scala
+++ b/test/files/run/t8192/Macros_1.scala
@@ -22,10 +22,10 @@ object Macros {
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)
}