We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
When an enum missing trailing comma is formatted, indentation is missing for ;.
;
When following code block is formatted
enum class SomeEnum1(id: String) { FOO("foo"), BAR("bar"); fun doSomething(id: String) {} }
Expected output
enum class SomeEnum1(id: String) { FOO("foo"), BAR("bar"), ; fun doSomething(id: String) {} }
Observed output
The text was updated successfully, but these errors were encountered:
Fix indentation before semi-colon when it is pushed down after insert…
6dc9f0f
…ing a trailing comma Closes pinterest#1609
Successfully merging a pull request may close this issue.
Expected Behavior
When an enum missing trailing comma is formatted, indentation is missing for
;
.When following code block is formatted
Expected output
Observed output
Your Environment
The text was updated successfully, but these errors were encountered: