summaryrefslogtreecommitdiff
path: root/test/files/run/reflection-simple.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/reflection-simple.scala')
-rw-r--r--test/files/run/reflection-simple.scala2
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
}
}