[swift-evolution] [Proposal] Enum subsets

Chris Lattner clattner at apple.com
Sat Jun 4 13:59:30 CDT 2016


> On Jun 3, 2016, at 10:34 PM, Austin Zheng <austinzheng at gmail.com> wrote:
> 
> It seems like it would make sense to model enum subsets as a subtype relationship.
> 
> Is the core team planning on drawing up a structs/enums subtyping proposal later this year?

I would *love* to get it in Swift 3.x or Swift 4, but we’ll have to see.  Generics features needed by the standard library will be higher priority, for example.

-Chris




More information about the swift-evolution mailing list