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

Reformat async code #1383

Merged
merged 2 commits into from
Apr 4, 2022
Merged

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Apr 1, 2022

No description provided.

glbrntt added 2 commits April 1, 2022 09:48
Motivation:

We need to use a newer version of SwiftFormat on the async/await code.
First we should update main so that merging changes into the async
branch is cleaner.

Modifications:

- Update SwiftFormat
- Reformat

Result:

Our version of SwiftFormat is new enough to correctly handle async/await
code.

(cherry picked from commit 80055e5)
Motivation:

On 'main' we updated SwiftFormat to a version which knows about
language features introduced in 5.5 and formatted the code accordingly.
We need to do the same on the async branch.

Modifications:

- Remove rules to temporarily disable SwiftFormat (in place for
  compatibility reasons)
- Rerun the formatter

Result:

Formatter is happy.
@glbrntt
Copy link
Collaborator Author

glbrntt commented Apr 1, 2022

Note:

  • 98b1b6e is cherry-picked from main.
  • daa79c1 are the changes from reformatting the async code.

@glbrntt glbrntt added the semver/none No version bump required. label Apr 1, 2022
@glbrntt glbrntt requested a review from FranzBusch April 1, 2022 08:59
@Lukasa Lukasa merged commit c2e1e12 into grpc:1.7.1-async-await Apr 4, 2022
@glbrntt glbrntt deleted the gb-update-formatter-async branch April 4, 2022 15:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants