summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-magicsymbols-invoke.scala
diff options
context:
space:
mode:
authorEugene Burmako <xeno.by@gmail.com>2012-12-29 10:32:08 +0100
committerEugene Burmako <xeno.by@gmail.com>2012-12-29 10:32:08 +0100
commit56ef2b330dfb3381fe2f6e717b959f1757ce69bb (patch)
tree327298a4deda452dd13267789e784b1d7d03222b /test/files/run/reflection-magicsymbols-invoke.scala
parenteea635a1c60a72a8a465fbf2cd659442c6b763ea (diff)
downloadscala-56ef2b330dfb3381fe2f6e717b959f1757ce69bb.tar.gz
scala-56ef2b330dfb3381fe2f6e717b959f1757ce69bb.tar.bz2
scala-56ef2b330dfb3381fe2f6e717b959f1757ce69bb.zip
cleans up usages of <init>
Diffstat (limited to 'test/files/run/reflection-magicsymbols-invoke.scala')
-rw-r--r--test/files/run/reflection-magicsymbols-invoke.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/reflection-magicsymbols-invoke.scala b/test/files/run/reflection-magicsymbols-invoke.scala
index e366495ec7..ff3992709f 100644
--- a/test/files/run/reflection-magicsymbols-invoke.scala
+++ b/test/files/run/reflection-magicsymbols-invoke.scala
@@ -54,7 +54,7 @@ object Test extends App {
println("it's important to print the list of AnyVal's members")
println("if some of them change (possibly, adding and/or removing magic symbols), we must update this test")
typeOf[AnyVal].declarations.toList.sortBy(key).foreach(sym => println(key(sym)))
- test(typeOf[AnyVal], null, "<init>")
+ test(typeOf[AnyVal], null, nme.CONSTRUCTOR.toString)
test(typeOf[AnyVal], 2, "getClass")
println("============\nAnyRef")