Oh right! Doh!!

I looked at it too simply :(

Brandon 

> On May 20, 2016, at 12:52 PM, David Waite <[email protected]> 
> wrote:
> 
> 
>> On May 20, 2016, at 10:43 AM, Brandon Knope via swift-evolution 
>> <[email protected]> wrote:
>> 
>> From the compilers/runtimes perspective why couldn't the declaration 
>> automatically be included in the main protocol definition as if it was 
>> defined there?
> 
> Assuming you have protocol extenders and protocol implementors as different 
> people, they are competing in the same problem space. The odds of an 
> unintentional name collision is higher than normal, in which case the person 
> implementing a protocol just unknowingly changed behavior for everyone 
> relying on that extension.
> 
> The implementors can’t look at the protocol to find out the list of 
> requirements on the protocol anymore - they have to also find every extension.
> 
> -DW
> 
_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to