scala/scala — pull request #730 by retronym (2012-06-16 21:41:46+00:00)
Title: SI-2807 Resurrect and refine the promiscuous catch warning.

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.

I would really like to skip the -Y status and promote this the default armory of warnings.

Review by @paulp