[swift-evolution] Proposal: switchValue

Amir Michail a.michail at me.com
Wed Jan 13 09:39:38 CST 2016


Example:

switch random() % 2 {
case 0: 
            …
default: precondition(switchValue == 1) 
             ...
}



More information about the swift-evolution mailing list