-
Notifications
You must be signed in to change notification settings - Fork 915
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
A line-broken struct literal is indented one level too deep if followed by a method call #1139
Comments
Any updates on this? |
Isn't this an intended behavior? #816 (comment) |
It looks ugly so I'd guess no :P |
It kind of is intended behaviour, but it does look a bit ugly. I'm not sure what is preferable though? The constraint is that if there is a method chain, it should be indented, it would be nice, I guess to put the method call on the same line as the |
Closing since this is fixed on the current master. |
Happens on: v0.5, v0.6,
master
(59e199b)Example code follows.
Expected:
Actual:
The text was updated successfully, but these errors were encountered: