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

Remove check for prioritizeKeepingFunctionOutputTogether on enum decl. #728

Merged
merged 1 commit into from May 1, 2024

Conversation

shawnhyam
Copy link
Contributor

Fixes #726. An enum decl won't have a corresponding .close, so we shouldn't add a .open token.

@shawnhyam shawnhyam requested a review from ahoppen April 29, 2024 15:56
@shawnhyam
Copy link
Contributor Author

This change will also make #725 format as desired when the prioritizeKeepingFunctionOutputTogether flag is enabled.

Copy link
Collaborator

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

Thank you for the fix!

@allevato allevato merged commit 366da31 into apple:main May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants