Skip to content
This repository was archived by the owner on Dec 12, 2024. It is now read-only.

[SoM] closures that throw errors aren't supported #101

Open
stephen-hawley opened this issue Nov 17, 2018 · 0 comments
Open

[SoM] closures that throw errors aren't supported #101

stephen-hawley opened this issue Nov 17, 2018 · 0 comments
Assignees
Milestone

Comments

@stephen-hawley
Copy link
Contributor

public func abc (f: (Bool)-> throws ()) { }

Likely this will cause a parse error in the TypeSpecParser since it will need to special case the token throws instead of flagging it as a type.
Past that, the wrapping code needs to handle this as a medusa tuple on the return type.

@stephen-hawley stephen-hawley self-assigned this Nov 17, 2018
@stephen-hawley stephen-hawley transferred this issue from another repository Oct 29, 2019
@chamons chamons added this to the Future milestone Nov 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants