summaryrefslogtreecommitdiff
path: root/test/files/neg
diff options
context:
space:
mode:
authorJosh Suereth <Joshua.Suereth@gmail.com>2012-07-30 07:22:50 -0700
committerJosh Suereth <Joshua.Suereth@gmail.com>2012-07-30 07:22:50 -0700
commit3aba55a8a89aec8aaccbdd16047cded02765d8fb (patch)
tree7cac96d9b0a89d283eb52537f2d60863ae23c5cf /test/files/neg
parent484e49cc3ea6030f31eeb658f95845faf05e3ef0 (diff)
parent5f31daa147a08df41ce4c69abbc2abadfcb9b5ee (diff)
downloadscala-3aba55a8a89aec8aaccbdd16047cded02765d8fb.tar.gz
scala-3aba55a8a89aec8aaccbdd16047cded02765d8fb.tar.bz2
scala-3aba55a8a89aec8aaccbdd16047cded02765d8fb.zip
Merge pull request #1014 from soc/throwable-warning
Fixes typo in Throwable compiler warning
Diffstat (limited to 'test/files/neg')
-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