[swift-evolution] Protocol extension function overrides the default value in implementations
cyano at me.com
Mon Jan 18 11:30:12 CST 2016
Isn’t is just because “equivalent modulo default parameters” ranks lower in overload resolution? That may or may not be on purpose or desired, I don’t really know. As long as it’s documented, I guess.
> On 16 Jan 2016, at 16:06, Tino Heth via swift-evolution <swift-evolution at swift.org> wrote:
>> is that right or is it a bug?
> It's not a real bug, but I'd call it "unexpected behavior" — and I guess it will be changed sooner or later.
> In the meantime: When you include the extension method in the protocol, everything should be fine.
> swift-evolution mailing list
> swift-evolution at swift.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution