Skip to content
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

Use best declaration with @escaping or @autoclosure #1149

Merged
merged 1 commit into from
Jan 7, 2020

Conversation

johnfairh
Copy link
Collaborator

Improve the SR-631 workaround (@escaping dropped from declaration) so it doesn't fire if the version of Swift in use has the fix. Add a test.

Fixes #1148 (at least gets a correct declaration into docs, getting the preferred multi-line one is a separate problem...)

@johnfairh johnfairh merged commit 54b0ef3 into master Jan 7, 2020
@johnfairh johnfairh deleted the jf-more-escaping branch January 7, 2020 16:33
@jpsim
Copy link
Collaborator

jpsim commented Jan 7, 2020

Thanks! ❤️

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.

typealias for function signature on multiple lines ignores all but 1st line
2 participants