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

FormatOps: handle if with rewritten braces around #3578

Merged
merged 2 commits into from
Jul 7, 2023

Conversation

kitbellew
Copy link
Collaborator

No description provided.

else bazBody
}
>>>
private def mtd: Res = if foo then fooBody else if bar then barBody else bazBody
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a bit terryfing 😅

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

well, it's fold after all, and the line is exactly 80 wide :)

@kitbellew kitbellew merged commit bb93f55 into scalameta:master Jul 7, 2023
@kitbellew kitbellew deleted the 3578 branch July 7, 2023 13:26
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