scala/scala — pull request #2358 by adriaanm (2013-04-04 23:55:59+00:00)
Title: SI-7330 better error when pattern's not a value

Somehow an applied type managed to sneak past the type checker in pattern mode.
Patterns must be values, though.

`case C[_] =>` was probably meant to be `case _: C[_] =>`
Advice is dispensed accordingly. (Generalizing the existing advice machinery.)

review by @retronym