summaryrefslogtreecommitdiff
path: root/test/files/run/t6956.check
Commit message (Collapse)AuthorAgeFilesLines
* SI-6956 determine switchability by type, not treeAdriaan Moors2013-01-151-0/+1
Constant folding will set the type of a constant tree to `ConstantType(Constant(folded))`, while the tree itself can be many different things (in casu, an Ident). We used to look at the tree directly when deciding whether to emit a switch. Now we look at the tree's type. VoilĂ .