[swift-evolution] Handling unknown cases in enums [RE: SE-0192]
Howard Lovatt
howard.lovatt at gmail.com
Wed Jan 10 18:34:28 CST 2018
If an enum isn’t final; then what’s the difference in deleting as opposed to adding?
-- Howard.
> On 10 Jan 2018, at 4:13 pm, Jean-Daniel <mailing at xenonium.com> wrote:
>
>
>
>> Le 10 janv. 2018 à 23:58, Howard Lovatt via swift-evolution <swift-evolution at swift.org> a écrit :
>>
>> Two points:
>>
>> 1. I like Chris’s suggestion of #unknown and in particular that it is distinct from default.
>>
>> 2. All the discussion is about a framework adding a case, what about when a framework deletes a case?
>
> This is a binary breaking change (just like removing an existing function or method).
>
>
More information about the swift-evolution
mailing list