Skip to content

An unused @discardableResult should not throw an error #6785

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 13, 2017

Conversation

erikjv
Copy link
Contributor

@erikjv erikjv commented Jan 13, 2017

A function marked with @discardableResult should not throw an error if
its returning closure is unused.

Fixes SR-2948.

A function marked with @discardableResult should not throw an error if
its returning closure is unused.

Fixes SR-2948.
@jrose-apple
Copy link
Contributor

@swift-ci Please smoke test

Copy link
Contributor

@jrose-apple jrose-apple left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work. Thanks, Erik!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants