summaryrefslogtreecommitdiff
path: root/test/files/neg/t7330.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-7330 better error when pattern isn't a valueAdriaan Moors2013-04-081-0/+5
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.)