[swift-evolution] Proposal: Support constant expressions in enum case raw values.
Amir Michail
a.michail at me.com
Thu Dec 31 15:46:41 CST 2015
Example:
enum A : [Int] {
case B = [1,2,3]
}
Currently, the following error occurs: "raw value for enum case must be a literal"
More information about the swift-evolution
mailing list