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

RedundantBraces: don't remove empty blocks #4148

Merged
merged 3 commits into from
Aug 8, 2024

Conversation

kitbellew
Copy link
Collaborator

There are only limited contexts where it is OK (case being one, but it is handled elsewhere). Helps with #4133.

The other invocations of `okToRemoveBlock` it used to be part of never
apply to this circumstance.
There are only limited contexts where it is OK (`case` being one, but
it is handled elsewhere).
@kitbellew kitbellew requested a review from tgodzik August 8, 2024 06:45
@kitbellew kitbellew merged commit 9c9df1b into scalameta:main Aug 8, 2024
9 checks passed
@kitbellew kitbellew deleted the 4133_13 branch August 8, 2024 08:44
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