[swift-evolution] Proposal: Allow Type Annotations on Throws

Chris Lattner clattner at apple.com
Fri Dec 18 14:15:10 CST 2015


> On Dec 17, 2015, at 11:29 PM, David Owens II via swift-evolution <swift-evolution at swift.org> wrote:
> 
> This a significantly updated proposal for typed annotations on the `throws` construct. The previous was closed due to not be complete; I believe I’ve addressed all of those concerns.
> 
> https://github.com/owensd/swift-evolution/blob/master/proposals/allow-type-annotations-on-throw.md <https://github.com/owensd/swift-evolution/blob/master/proposals/allow-type-annotations-on-throw.md>
> 

I haven’t had a chance to read this update in detail (but I have skimmed it): with that as a caveat, I am s till +1 on the proposal, and agree that we should stick with 0 or 1 declared thrown types.  It should also only happen after resilience features for enums are in place.

-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20151218/1ea5e360/attachment.html>


More information about the swift-evolution mailing list