summaryrefslogtreecommitdiff
path: root/test/files/neg/catch-all.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-2807 Avoid catch all warning for Stable Id patternsJason Zaugg2012-06-301-9/+21
|
* SI-2807 Resurrect and refine the promiscuous catch warning.Jason Zaugg2012-06-191-0/+19
The previous incarnation didn't survive 4fb3473. This version can be cleared by using a typed pattern: `catch { case _: Throwable => }`. This is motivated by the recent appearance of such a catch in `util.Try`, and by battle scars left by one too many processes bravely but stupidly catching and logging OutOfMemoryErrors. -Y status has been skipped: this warning is enabled by default and can only be silenced with use of a typed pattern.