Skip to content

[Sema] Improving implicit closure capture diagnostic wording #58456

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

Conversation

LucianoPAlmeida
Copy link
Contributor

Improve diagnostic wording for implicit closure captures such as async let capture.

Resolves SR-16092.
Fixes #58351

@LucianoPAlmeida LucianoPAlmeida requested review from xedin and kavon April 27, 2022 14:11
@LucianoPAlmeida LucianoPAlmeida force-pushed the SR-16092-diagnostics branch 6 times, most recently from b4ce726 to ffe49a3 Compare April 29, 2022 05:20
@LucianoPAlmeida LucianoPAlmeida requested a review from xedin April 29, 2022 05:22
Copy link
Contributor

@xedin xedin left a comment

Choose a reason for hiding this comment

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

Looks good to me but I'd let @kavon have a final word here.

@LucianoPAlmeida LucianoPAlmeida force-pushed the SR-16092-diagnostics branch 2 times, most recently from e74c0bb to e0df1c6 Compare April 30, 2022 02:46
@LucianoPAlmeida LucianoPAlmeida force-pushed the SR-16092-diagnostics branch from e0df1c6 to 3928ccf Compare May 7, 2022 23:07
@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please test

@LucianoPAlmeida
Copy link
Contributor Author

@kavon Friendly ping for a review =]

@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please test

Copy link
Member

@kavon kavon left a comment

Choose a reason for hiding this comment

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

This looks great. Thank you! Apologies for the late review.

@kavon
Copy link
Member

kavon commented May 24, 2022

@swift-ci please test and merge

@LucianoPAlmeida
Copy link
Contributor Author

This looks great. Thank you! Apologies for the late review.

No worries @kavon, thanks for the review!

@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please test

@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please test Windows Platform

@LucianoPAlmeida
Copy link
Contributor Author

@swift-ci Please test MacOS Platform

@LucianoPAlmeida LucianoPAlmeida merged commit ebd04d8 into swiftlang:main May 25, 2022
@LucianoPAlmeida LucianoPAlmeida deleted the SR-16092-diagnostics branch May 25, 2022 12:09
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.

[SR-16092] [DiagnosticsQol] Misleading non-sendable capture warning in implicit auto closure
3 participants