[swift-evolution] [Completing Generics] Completing protocol extension diagnostics

T.J. Usiyan griotspeak at gmail.com
Tue Mar 8 18:21:00 CST 2016


I strongly suggest against requiring the scope keyword. This would force
you to move a method *out* of the scope if you also wanted to use it
outside of the conforming extension, which seems needlessly punitive.

TJ

On Tue, Mar 8, 2016 at 6:48 PM, Brent Royal-Gordon <brent at architechies.com>
wrote:

> > Would/Could the warning be silenced if `doSomething()` is called by one
> of the methods that do satisfy requirements? (I know that it is possible,
> is it reasonable?)
>
> If the `scoped` proposal passes (note: I am still -1 on that proposal),
> that might be another criterion for permitting a non-conforming member in
> an extension.
>
> --
> Brent Royal-Gordon
> Architechies
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160308/985d48a5/attachment.html>


More information about the swift-evolution mailing list