[swift-evolution] [Proposal] clarification around protocol implementation and protocol extensions
david at alkaline-solutions.com
Fri Feb 17 21:27:06 CST 2017
I wrote up the following draft proposal around attempting to clarify protocol implementation and protocol extensions, via annotating methods and properties meant to satisfy protocol requirements with additional keywords:
"Types implementing protocols with optional features (either through default implementations on extensions, or optional methods on objective-C protocols) do not have a way to detect either local typos or later upstream changes to the protocol method signatures will result in behavioral changes. This proposal attempts to rectify that in a manner similar to override on subclassed types."
I’d appreciate feedback from the list! This is very much a first draft, likely filled with tyops.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution