[swift-evolution] Abstract methods
Jonathan Hull
jhull at gbis.com
Sat Nov 4 04:21:10 CDT 2017
> On Nov 3, 2017, at 10:26 PM, Slava Pestov via swift-evolution <swift-evolution at swift.org> wrote:
>
>> Probably something like `super` for when you want to override a default implementation but still call it:
>
> This is a good idea. I think it would be pretty straightforward to implement, and it’s something that keeps coming up. We haven’t come up with a nice unambiguous syntax for it yet.
self.P::method() ?
It could be used for calling a specific implementation from superclasses too...
Thanks,
Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20171104/d6354c0d/attachment.html>
More information about the swift-evolution
mailing list