summaryrefslogtreecommitdiff
path: root/test/files/neg/t7294.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-7294 Treat TupleN as final under -XfutureJason Zaugg2013-03-241-0/+5
For the purposes of checkability warnings. This will warn in case of: scala> (1, 2) match { case Seq() => 0; case _ => 1 } res9: Int = 1 Given how often Tuples are used as scrutinees, this is a highly desirable place to warn. I was orginally going to unlock this under -Xlint, and could be easily convinced to go that way, given that -Xfuture is a less popular option.