Sent from my iPhone

> On Feb 19, 2017, at 10:11 AM, Adrian Zubarev 
> <adrian.zuba...@devandartist.com> wrote:
> 
> @Matthew: Have you considered what happens with the access modifier of an 
> open protocol when an open/public class conforms to it?
> 

Yes I covered this in the detailed design section of the proposal.
> // Module A
> open protocol A {
>     func foo()
> }
> 
> // Module B
> open class B : A {
>     (open or public) func foo() {}
>     // If `open`, can we downgrade to `public`?
>     // The other way around seems straightforward  
> }
_______________________________________________
swift-evolution mailing list
swift-evolution@swift.org
https://lists.swift.org/mailman/listinfo/swift-evolution

Reply via email to