Skip to content

Conversation

nicolasstucki
Copy link
Contributor

No description provided.

Copy link
Contributor

@liufengyun liufengyun left a comment

Choose a reason for hiding this comment

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

LGTM

this += lineBreak()
printCases(cases, lineBreak())
}
this += lineBreak() += "}"
Copy link
Contributor

Choose a reason for hiding this comment

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

I think it's worthy to create another verb like braced which could be used in several places to simplify the code.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice idea. I will add it in another PR.

@nicolasstucki nicolasstucki merged commit 6812241 into scala:master Jun 21, 2018
@allanrenucci allanrenucci deleted the fix-catch-clause-printing branch June 21, 2018 11:59
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