summaryrefslogtreecommitdiff
path: root/test/files/neg/catch-all.check
diff options
context:
space:
mode:
authorSimon Ochsenreither <simon@ochsenreither.de>2012-07-29 19:11:01 +0200
committerSimon Ochsenreither <simon@ochsenreither.de>2012-07-29 19:11:01 +0200
commit5f31daa147a08df41ce4c69abbc2abadfcb9b5ee (patch)
tree0e3ddbf02ecbf21486cd8cf73c3c1719cca9a36b /test/files/neg/catch-all.check
parent7ac01d8d8f5c84d8640a6baac55f892dc0a88102 (diff)
downloadscala-5f31daa147a08df41ce4c69abbc2abadfcb9b5ee.tar.gz
scala-5f31daa147a08df41ce4c69abbc2abadfcb9b5ee.tar.bz2
scala-5f31daa147a08df41ce4c69abbc2abadfcb9b5ee.zip
Fixes typo in Throwable compiler warning
Diffstat (limited to 'test/files/neg/catch-all.check')
-rw-r--r--test/files/neg/catch-all.check6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/neg/catch-all.check b/test/files/neg/catch-all.check
index 62f895cc7e..a9cd0ba927 100644
--- a/test/files/neg/catch-all.check
+++ b/test/files/neg/catch-all.check
@@ -1,10 +1,10 @@
-catch-all.scala:2: error: This catches all Throwables. If this is really intended, use `case _ : Throwable` to clear this warning.
+catch-all.scala:2: error: This catches all Throwables. If this is really intended, use `case _: Throwable` to clear this warning.
try { "warn" } catch { case _ => }
^
-catch-all.scala:4: error: This catches all Throwables. If this is really intended, use `case x : Throwable` to clear this warning.
+catch-all.scala:4: error: This catches all Throwables. If this is really intended, use `case x: Throwable` to clear this warning.
try { "warn" } catch { case x => }
^
-catch-all.scala:6: error: This catches all Throwables. If this is really intended, use `case x : Throwable` to clear this warning.
+catch-all.scala:6: error: This catches all Throwables. If this is really intended, use `case x: Throwable` to clear this warning.
try { "warn" } catch { case _: RuntimeException => ; case x => }
^
three errors found