Skip to content

[SR-4205] Removed the non_trailing_closure_before_default_args warning #8033

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
Mar 15, 2017
Merged

Conversation

hartbit
Copy link
Contributor

@hartbit hartbit commented Mar 12, 2017

I removed the non_trailing_closure_before_default_args warning to resolve SR-4205.

Resolves SR-4205.

@CodaFi CodaFi requested a review from jrose-apple March 12, 2017 01:12
@CodaFi
Copy link
Contributor

CodaFi commented Mar 13, 2017

@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.

Thanks, David!

@jrose-apple
Copy link
Contributor

Let's try that again.

@swift-ci Please smoke test

@CodaFi
Copy link
Contributor

CodaFi commented Mar 14, 2017

Looks like you're just missing a single test under test/expr/closure/closures.swift

rdar://problem/21193574 says that this warning dates back to when closure args before default args used to be considered as trailing closures. This is not the case anymore so Jordan suggested we remove the warning.
@hartbit
Copy link
Contributor Author

hartbit commented Mar 14, 2017

@jrose-apple Fixed the remaining test!

@jrose-apple
Copy link
Contributor

My bad for just retesting without clicking through. :-) Thanks, Robert; thanks, David.

@swift-ci Please smoke test

@jrose-apple jrose-apple self-assigned this Mar 14, 2017
@jrose-apple jrose-apple merged commit 01b5b6a into swiftlang:master Mar 15, 2017
@hartbit hartbit deleted the SR-4205 branch March 18, 2017 14:01
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.

3 participants