summaryrefslogtreecommitdiff
path: root/test/files/neg/t7294.check
Commit message (Collapse)AuthorAgeFilesLines
* SI-7301 Make tuple classes finalStefan Zeiger2016-07-071-1/+5
| | | | | This includes undoing the special case for `-Xfuture` introduced in https://github.com/scala/scala/pull/2299 and updating tests to take the new errors into account.
* SI-7294 Treat TupleN as final under -XfutureJason Zaugg2013-03-241-0/+6
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.