summaryrefslogtreecommitdiff
path: root/test/files/run/bugs.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/bugs.scala')
-rw-r--r--test/files/run/bugs.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/bugs.scala b/test/files/run/bugs.scala
index ca598603bb..9d2be42fb7 100644
--- a/test/files/run/bugs.scala
+++ b/test/files/run/bugs.scala
@@ -444,7 +444,7 @@ object Test {
try {
test;
} catch {
- case exception =>
+ case exception: Throwable =>
Console.print("Exception in thread \"" + Thread.currentThread + "\" " + exception);
Console.println;
errors += 1