> On Aug 21, 2015, at 20:58 , Greg Parker <[email protected]> wrote:
>
>> Also, if the method of the call site is marked as "throws," does that mean
>> the error will propagate out?
>
> Nothing you write in Swift will have any effect on C++/ObjC exception
> unwinding.
Sorry, I meant within Swift's error handling, if the call site does nothing
other than be a function marked with throws, that's legal right?
func
one() throws
{
two()
}
func
two() throws
{
throw something
}
--
Rick Mann
[email protected]
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]