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/reflection-simple.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/reflection-simple.scala')
-rw-r--r-- | test/files/run/reflection-simple.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/reflection-simple.scala b/test/files/run/reflection-simple.scala index 152d8c4505..ec34b71cec 100644 --- a/test/files/run/reflection-simple.scala +++ b/test/files/run/reflection-simple.scala @@ -6,7 +6,7 @@ object Test { System.out.println("Running") case class Foo(a: Int, b: Int, c: Int) import scala.reflect.runtime.{currentMirror => cm} - val props = cm.reflectClass(classOf[Foo]).symbol.typeSignature.members.filter(_.isTerm).map(_.toString) + val props = cm.classSymbol(classOf[Foo]).typeSignature.members.filter(_.isTerm).map(_.toString) props.toList.sorted foreach System.out.println } } |