[swift-evolution] Static Dispatch Pitfalls

Brandon Knope bknope at me.com
Fri May 20 12:49:00 CDT 2016


I was kind of alluding to this when I said it should be opt in...or at least I thought I mentioned it 😂. 

What keyword name could clearly convey this meaning?

Brandon 

> On May 20, 2016, at 1:35 PM, Chris Lattner via swift-evolution <swift-evolution at swift.org> wrote:
> 
> 
>> 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
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution


More information about the swift-evolution mailing list