Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SI-8731 warning if @switch is ignored | Lukas Rytz | 2014-10-06 | 1 | -1/+1 |
| | | | | | For matches with two or fewer cases, @switch is ignored. This should not happen silently. | ||||
* | SI-6902 Check unreachability under @unchecked | Jason Zaugg | 2013-01-19 | 1 | -0/+13 |
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. |