[swift-evolution] [Proposal] allow protocol extensions to contain inheritance clauses

Sash Zats sash at zats.io
Thu Dec 24 23:05:13 CST 2015

I ran into several cases when it would be desirable to add an inheritance
clause B in the protocol extension A. Briefly, my proposal is that compiler
should not produce an error once `extension A: B` implements all the
functions of the protocol B, making it formally confirming to it. Sadly,
currently, there is no elegant way to mark the conformance formally.
A more detailed draft can be found here
I would really appreciate your feedback and thoughts on this.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151225/e0024e49/attachment.html>

More information about the swift-evolution mailing list