diff options
Diffstat (limited to 'test/files/run/t6379/Test_2.scala')
-rw-r--r-- | test/files/run/t6379/Test_2.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/run/t6379/Test_2.scala b/test/files/run/t6379/Test_2.scala index af4ec7c6d0..8e9c994654 100644 --- a/test/files/run/t6379/Test_2.scala +++ b/test/files/run/t6379/Test_2.scala @@ -10,13 +10,13 @@ class Reader(fname: String) { object Test extends App { def test(sym: MethodSymbol): Unit = { println(s"uninitialized ${sym.name}: ${sym.exceptions}") - sym.typeSignature + sym.info println(s"initialized ${sym.name}: ${sym.exceptions}") } Macros.foo println("runtime") - test(typeOf[Closeable].declaration(TermName("close")).asMethod) - test(typeOf[Product1[_]].declaration(TermName("productElement")).asMethod) - test(typeOf[Reader].declaration(TermName("read")).asMethod) + test(typeOf[Closeable].decl(TermName("close")).asMethod) + test(typeOf[Product1[_]].decl(TermName("productElement")).asMethod) + test(typeOf[Reader].decl(TermName("read")).asMethod) } |