[swift-evolution] [Proposal idea] Improved interop for ErrorType->NSError

Charles Srstka cocoadev at charlessoft.com
Sat Dec 19 23:27:27 CST 2015


> On Dec 19, 2015, at 11:03 PM, Dennis Lysenko <dennis.s.lysenko at gmail.com> wrote:
> 
> Sorry, got a little excited in answering and just re-read the proposal. Ignore the part of "extra cruft", since I'll never have to see it unless I want to override it. I thought that the static dispatch bit later on in the proposal implies that that wouldn't work so well, but I might have misread. 

If the proposed changes are built right into the protocol, the dispatch is dynamic. If they were added via an extension, then we’re stuck with static dispatch unless some changes are made to the language (which is also possible).

Charles


More information about the swift-evolution mailing list