summaryrefslogtreecommitdiff
path: root/test/files/neg/catch-all.flags
Commit message (Collapse)AuthorAgeFilesLines
* SI-2807 Resurrect and refine the promiscuous catch warning.Jason Zaugg2012-06-191-0/+1
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.