summaryrefslogtreecommitdiff
path: root/test/files/run/try-catch-unify.scala
diff options
context:
space:
mode:
authorJosh Suereth <joshua.suereth@gmail.com>2012-08-21 21:53:53 -0400
committerJosh Suereth <joshua.suereth@gmail.com>2012-08-21 21:53:53 -0400
commite512d1aead7afdca8748cfaced3d707a23d528c3 (patch)
treea46d3ebc95202443a3233da2d88cbcd83c9efc7e /test/files/run/try-catch-unify.scala
parent1ab4994990a21c1ea4dadcf15368013d89456ca6 (diff)
downloadscala-e512d1aead7afdca8748cfaced3d707a23d528c3.tar.gz
scala-e512d1aead7afdca8748cfaced3d707a23d528c3.tar.bz2
scala-e512d1aead7afdca8748cfaced3d707a23d528c3.zip
Fix stupid logic inversion of try-catch
Diffstat (limited to 'test/files/run/try-catch-unify.scala')
-rw-r--r--test/files/run/try-catch-unify.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/run/try-catch-unify.scala b/test/files/run/try-catch-unify.scala
index 0d819ab957..8cb14d060e 100644
--- a/test/files/run/try-catch-unify.scala
+++ b/test/files/run/try-catch-unify.scala
@@ -11,5 +11,6 @@ object Test {
} catch {
case t => println(t.getMessage)
}
+ println(nonFatalCatch withTry ("Hi".toDouble))
}
}