summaryrefslogtreecommitdiff
path: root/test/files/run/showdecl/Test_2.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/showdecl/Test_2.scala')
-rw-r--r--test/files/run/showdecl/Test_2.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/showdecl/Test_2.scala b/test/files/run/showdecl/Test_2.scala
index 65ab2f147c..6eb64baf34 100644
--- a/test/files/run/showdecl/Test_2.scala
+++ b/test/files/run/showdecl/Test_2.scala
@@ -3,9 +3,9 @@ import scala.reflect.runtime.{currentMirror => cm}
object Test extends App {
def test(sym: Symbol): Unit = {
- println(s"autoinitialized ${sym.name}: ${showDeclaration(sym)}")
- sym.typeSignature
- println(s"autoinitialized ${sym.name}: ${showDeclaration(sym)}")
+ println(s"autoinitialized ${sym.name}: ${showDecl(sym)}")
+ sym.info
+ println(s"autoinitialized ${sym.name}: ${showDecl(sym)}")
}
Macros.foo