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: fix removing blocks #4783

Merged
merged 2 commits into from
Feb 2, 2025
Merged

Conversation

kitbellew
Copy link
Collaborator

We continue removing blocks nested within another block, assuming that at least one outer block is preserved if necessary.

Therefore, before removing an outer block, make sure it doesn't contain a deeply nested multi-stat expression.

We continue removing blocks nested within another block, assuming that
at least one outer block is preserved if necessary.

Therefore, before removing an outer block, make sure it doesn't contain
a deeply nested multi-stat expression.
@kitbellew kitbellew requested a review from tgodzik February 2, 2025 00:51
@kitbellew kitbellew merged commit 12efb1c into scalameta:main Feb 2, 2025
32 checks passed
@kitbellew kitbellew deleted the 4783 branch February 2, 2025 19:16
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