Sent from my iPad
> On Apr 27, 2016, at 3:08 PM, Jérôme ALVES via swift-evolution > <[email protected]> wrote: > > What if... > > FooBar.framework defines : > public protocol A { > func foo() > } > public type B: A { > public func foo () { > … implementation … > } > } > > Other module defines : > import FooBar > extension A { > func foo() { .. default implementation … } > } > This is a good example. More generally, we should be sure that any change we make here does not interfere with retroactive modeling. > > Jérôme > >> Le 27 avr. 2016 à 19:10, Erica Sadun via swift-evolution >> <[email protected]> a écrit : >> >> protocol A { >> func foo() >> } >> >> extension A { >> func foo() { .. default implementation … } >> } >> >> type B: A { >> >> override required func foo () { … overrides implementation … } >> } > _______________________________________________ > swift-evolution mailing list > [email protected] > https://lists.swift.org/mailman/listinfo/swift-evolution
_______________________________________________ swift-evolution mailing list [email protected] https://lists.swift.org/mailman/listinfo/swift-evolution
