[swift-evolution] Allowing enum extensions to also be able to expand case options

Chris Lattner clattner at apple.com
Fri Jul 1 01:32:27 CDT 2016


> On Jun 30, 2016, at 12:58 PM, Edward Valentini via swift-evolution <swift-evolution at swift.org> wrote:
> 
> 
> I am finding myself in a situation where the most elegant "swifty" solution would be to allow enum extensions to add to existing case options.  For example lets say I'm using a library that has the following enum defined: 

This is an additive proposal, so the core team would prefer you to wait until after Swift 3.0 to discuss this.  Thanks,

-Chris



More information about the swift-evolution mailing list