summaryrefslogtreecommitdiff
path: root/test/files/run/getClassTest-old.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-11-18 09:39:55 -0800
committerPaul Phillips <paulp@improving.org>2013-11-18 11:43:57 -0800
commit2d4f0f1859b957b744f9b9f222dec8e8c478a4a8 (patch)
treeca7f779bc12f4b23b91558ad5b871d1e895ed9ac /test/files/run/getClassTest-old.scala
parentc243435f113615b2f7407fbd683c93ec16c73749 (diff)
downloadscala-2d4f0f1859b957b744f9b9f222dec8e8c478a4a8.tar.gz
scala-2d4f0f1859b957b744f9b9f222dec8e8c478a4a8.tar.bz2
scala-2d4f0f1859b957b744f9b9f222dec8e8c478a4a8.zip
Removing deprecated code.
Code which has been deprecated since 2.10.0 and which allowed for straightforward removal.
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)