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 method block as apply arg #2161

Merged
merged 2 commits into from
Aug 24, 2020

Conversation

kitbellew
Copy link
Collaborator

We failed to take into account the maxLines parameter when determining if the method block as apply arg would be rewritten.

Fixes #2138.

We failed to take into account the maxLines parameter when determining
if the method block as apply arg would be rewritten.
@kitbellew kitbellew requested a review from poslegm August 24, 2020 05:12
@kitbellew kitbellew merged commit e131fce into scalameta:master Aug 24, 2020
@kitbellew kitbellew deleted the 2138 branch August 24, 2020 11:36
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.

redundantBraces.methodBodies=false causes parse errors for certain lambda expressions
2 participants