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

Add a break after do when it has typed throws #769

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

bnbarham
Copy link
Contributor

Pretty-printing of do statements with typed throws was skipping the space between the do and throws. Make sure to add it in.

Fixes #768.

Pretty-printing of `do` statements with typed throws was skipping the
space between the `do` and `throws`. Make sure to add it in.
Copy link
Member

@allevato allevato left a comment

Choose a reason for hiding this comment

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

Thanks!

@bnbarham bnbarham merged commit fe36876 into swiftlang:main Jul 17, 2024
@bnbarham bnbarham deleted the fixed-do-typed-throws branch July 17, 2024 03:47
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.

Typed throws in do blocks formatted incorrectly
2 participants