Swift should add 'implement' keyword

Originator:bergamot
Number:rdar://17525189 Date Originated:
Status: Resolved:
Product: Product Version:
Classification: Reproducible:
 
Summary:
Implement would work exactly like 'override', but for methods implemented in a protocol instead of overridden in a subclass.

The main benefit is that if the protocol changes, the compiler would be able to catch all the methods that implemented the old version. It would also make it clear which methods were there to satisfy protocol requirements.

Steps to Reproduce:


Expected Results:


Actual Results:


Version:


Notes:


Configuration:


Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!