summaryrefslogtreecommitdiff
path: root/test/files/neg/t6675.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-6675 -Xlint arity enforcement for extractorsJason Zaugg2013-01-151-0/+13
Extractor Patterns changed in 2.10.0 to implement the letter of the spec, which allows a single binding to capture an entire TupleN. But this can hide arity mismatches, especially if the case body uses the bound value as an `Any`. This change warns when this happens under -Xlint.