summaryrefslogtreecommitdiff
path: root/test/files/pos/t8306.scala
Commit message (Collapse)AuthorAgeFilesLines
* SI-8306: handle SWITCH nodes with just default caseGrzegorz Kossakowski2014-02-191-0/+8
Handle properly SWITCH nodes that contain just a default case in optimizer (ConstantOptimization). SWITCH with just default case is expressed as a node with empty tags and exactly one label. We can handle such nodes easily by introducing a shortcut in logic that computes reachableLabels. Add a test case which triggers patmat to generate SWITCH node with just a default case. Fixes SI-8306.