Skip to content

[Async Refactoring] Cosmetic Improvements to "Add Async Wrapper" Refactoring #38259

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
Jul 6, 2021

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Jul 5, 2021

Two mostly-cosmetic change to the "Add Async Wrapper" refactoring

  • Rename the continuation from cont to continuation and error from err to error to better match Swifts naming guidelines
  • Add assertions that all result parameters are nil if an error is passed to the completion handler.

Resolves rdar://80172152

…ctoring

Two mostly-cosmetic change to the "Add Async Wrapper" refactoring
- Rename the continuation from `cont` to `continuation` and error from `err` to `error` to better match Swifts naming guidelines
- Add assertions that all result parameters are `nil` if an error is passed to the completion handler.

Resolves rdar://80172152
@ahoppen ahoppen requested a review from hamishknight July 5, 2021 11:35
@ahoppen
Copy link
Member Author

ahoppen commented Jul 5, 2021

@swift-ci Please smoke test

Copy link
Contributor

@hamishknight hamishknight left a comment

Choose a reason for hiding this comment

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

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.

2 participants