summaryrefslogtreecommitdiff
path: root/test/files/neg/t6902.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-8731 warning if @switch is ignoredLukas Rytz2014-10-061-1/+1
| | | | | For matches with two or fewer cases, @switch is ignored. This should not happen silently.
* SI-6902 Check unreachability under @uncheckedJason Zaugg2013-01-191-0/+23
Only exhaustiveness checking should be disabled if the scrutinee of a match as annotated as `: @unchecked`. This was the pre-2.10.x behaviour. This also fixes a variation of the closed ticket, SI-6011. The exhaustiveness check is needed to safely fallback from emitting a table switch if duplicate cases are detected.