[swift-evolution] Static Dispatch Pitfalls

Chris Lattner clattner at apple.com
Fri May 20 12:35:55 CDT 2016


> On May 20, 2016, at 9:17 AM, Austin Zheng <austinzheng at gmail.com> wrote:
> 
> I almost want to propose forbidding methods in protocol extensions unless they're also a requirement in the protocol itself, but I don't think that would fly.

I don’t think that would fly :-).  That said, has anyone considered requiring a keyword on the method in the protocol extension that makes it explicit that the dispatch is non-dynamic?

-Chris


More information about the swift-evolution mailing list