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

Chris Lattner clattner at apple.com
Tue Dec 22 12:03:25 CST 2015


> On Dec 22, 2015, at 9:44 AM, David Owens II via swift-evolution <swift-evolution at swift.org> wrote:
> 
> 
>> On Dec 22, 2015, at 9:30 AM, Paul Cantrell via swift-evolution <swift-evolution at swift.org> wrote:
>> 
>> Hmm, I wonder if #1 or #4 suggest any language changes to propose for this list.
> 
> Tangential to the topic at hand, but default values in tuples is something I’ve wanted for a while. Comparing optionals in a case statement would also be nice.

If you dig through history, you’ll find that we had them at one point (perhaps even in the swift 1.x timeframe), and we even had varargs tuples.  We removed both of them because they were infrequently used and adding a tremendous amount of complexity to the compiler (and were very buggy as a result).

-Chris


More information about the swift-evolution mailing list