diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-11-22 03:16:13 -0800 |
---|---|---|
committer | Jason Zaugg <jzaugg@gmail.com> | 2013-11-22 03:16:13 -0800 |
commit | 5710c58b405e107ec29283d846acafd0cda13dcf (patch) | |
tree | 2ed4ba76fad4790664f41d08327c6689df348eaf /test/files/run/ctries-old/main.scala | |
parent | 666f39d3493ee633a616c40f1c41add1190a3a40 (diff) | |
parent | 2d4f0f1859b957b744f9b9f222dec8e8c478a4a8 (diff) | |
download | scala-5710c58b405e107ec29283d846acafd0cda13dcf.tar.gz scala-5710c58b405e107ec29283d846acafd0cda13dcf.tar.bz2 scala-5710c58b405e107ec29283d846acafd0cda13dcf.zip |
Merge pull request #3152 from paulp/pr/deprecations
Removing deprecated code.
Diffstat (limited to 'test/files/run/ctries-old/main.scala')
-rw-r--r-- | test/files/run/ctries-old/main.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/ctries-old/main.scala b/test/files/run/ctries-old/main.scala index f714bcdcdc..77161fed2f 100644 --- a/test/files/run/ctries-old/main.scala +++ b/test/files/run/ctries-old/main.scala @@ -38,7 +38,7 @@ trait Spec { var produced = false try body catch { - case e: Throwable => if (e.getClass == implicitly[ClassManifest[T]].erasure) produced = true + case e: Throwable => if (e.getClass == implicitly[ClassManifest[T]].runtimeClass) produced = true } finally { assert(produced, "Did not produce exception of type: " + implicitly[ClassManifest[T]]) } |