summaryrefslogtreecommitdiff
path: root/test/files/run/getClassTest-old.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/getClassTest-old.scala')
-rw-r--r--test/files/run/getClassTest-old.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/getClassTest-old.scala b/test/files/run/getClassTest-old.scala
index 789dd4d162..cd1b6b07f6 100644
--- a/test/files/run/getClassTest-old.scala
+++ b/test/files/run/getClassTest-old.scala
@@ -53,7 +53,7 @@ class MoreAnyRefs {
@deprecated("Suppress warnings", since="2.11")
object Test {
def returnTypes[T: Manifest] = (
- manifest[T].erasure.getMethods.toList
+ manifest[T].runtimeClass.getMethods.toList
filter (_.getName startsWith "f")
sortBy (_.getName)
map (m => m.getName + ": " + m.getGenericReturnType.toString)