Hi all,
I'm now officially proposal the union type feature for Swift. Please see: https://github.com/frogcjn/swift-evolution/blob/master/proposals/xxxx-union-type.md <https://github.com/frogcjn/swift-evolution/blob/master/proposals/xxxx-union-type.md> Introduction Add union type grammar, represents the type which is one of other types. var stringOrURL: String | URL = "https://www.apple.com <https://www.apple.com/>" I would be thankful if someone support this idea and give some advice. Thanks! -- Jiannan
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
