[swift-evolution] Static Dispatch Pitfalls
Timothy J. Wood
tjw at omnigroup.com
Fri May 20 12:55:17 CDT 2016
> On May 20, 2016, at 10:35 AM, Chris Lattner via swift-evolution <swift-evolution at swift.org> wrote:
> 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?
This would be fabulous. Of course, if you could mark it dynamic too to get that behavior that would be great, but preventing the error in the first place seems great.
`static` is taken already. `nondynamic`, `direct`, …? `nondynamic` seems the least surprising term to me.
More information about the swift-evolution