Sent from my iPhone

> On 4 Nov 2017, at 05:26, Slava Pestov via swift-evolution 
> <[email protected]> wrote:
> 
> Protocols define requirements, they don’t “add” things to the conforming type

I agree with this, but then this warrants a change for protocol extensions too. 
Would you be happy with the restriction that default method implementations are 
only available for value types and not for classes (as structs cannot share 
code any other way, it is the argument for that I seem to recall)?


_______________________________________________
swift-evolution mailing list
[email protected]
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to