summaryrefslogtreecommitdiff
path: root/test/files/continuations-run/trycatch0.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/continuations-run/trycatch0.scala')
-rw-r--r--test/files/continuations-run/trycatch0.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/continuations-run/trycatch0.scala b/test/files/continuations-run/trycatch0.scala
index ec39863f3f..feb7f7182b 100644
--- a/test/files/continuations-run/trycatch0.scala
+++ b/test/files/continuations-run/trycatch0.scala
@@ -7,14 +7,14 @@ object Test {
def foo = try {
shift((k: Int=>Int) => k(7))
} catch {
- case ex =>
+ case ex: Throwable =>
9
}
def bar = try {
7
} catch {
- case ex =>
+ case ex: Throwable =>
shiftUnit0[Int,Int](9)
}
@@ -22,4 +22,4 @@ object Test {
println(reset { foo + 3 })
println(reset { bar + 3 })
}
-} \ No newline at end of file
+}