diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2012-06-08 11:43:20 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2012-06-08 15:35:23 +0200 |
commit | abc1c0be79ac2fb2b0e75c87a489570a9c71aa6e (patch) | |
tree | 5d2723fa39aa8b28337b1e005ae06891667580a2 /test/files/run/t5256f.scala | |
parent | 2123201e3cbc34676d2936226539bdfa0555c275 (diff) | |
download | scala-abc1c0be79ac2fb2b0e75c87a489570a9c71aa6e.tar.gz scala-abc1c0be79ac2fb2b0e75c87a489570a9c71aa6e.tar.bz2 scala-abc1c0be79ac2fb2b0e75c87a489570a9c71aa6e.zip |
tests and fixes for the mirror API
Diffstat (limited to 'test/files/run/t5256f.scala')
-rw-r--r-- | test/files/run/t5256f.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/t5256f.scala b/test/files/run/t5256f.scala index 072f927abc..80c7ad8018 100644 --- a/test/files/run/t5256f.scala +++ b/test/files/run/t5256f.scala @@ -4,7 +4,7 @@ import scala.reflect.runtime.{currentMirror => cm} object Test extends App { class A1 { def foo = ??? } - val c1 = cm.reflectClass(classOf[A1]).symbol + val c1 = cm.classSymbol(classOf[A1]) println(c1) println(c1.fullName) println(c1.typeSignature) @@ -15,7 +15,7 @@ object Test extends App { class Test { class A2 { def foo = ??? } - val c2 = cm.reflectClass(classOf[A2]).symbol + val c2 = cm.classSymbol(classOf[A2]) println(c2) println(c2.fullName) println(c2.typeSignature) |