summaryrefslogtreecommitdiff
path: root/test/files/run/t2417.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t2417.scala')
-rw-r--r--test/files/run/t2417.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t2417.scala b/test/files/run/t2417.scala
index 2d0bc2d405..18b6c326b5 100644
--- a/test/files/run/t2417.scala
+++ b/test/files/run/t2417.scala
@@ -8,7 +8,7 @@ object Test {
try {
block
} catch {
- case x => failure = x
+ case x: Throwable => failure = x
}
}
})