-
Notifications
You must be signed in to change notification settings - Fork 1
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
Bug: breaking assignment to class #54
Comments
#55 fixed this specific case but there are other examples that would still break eg
This seems like part of a more general problem where nothing in a control line can do a simple indented break because then the indented body won't parse as indented |
I'm thinking that a short-term "solution" would be to disable the Basically I think the question for whether an indented body could ever be not actually indented due to something like this can be broken into:
Hopefully this is already covered (eg if a
So the question is, what types of expressions are there that could have its first part break in a non-self-indent-closing way while not affecting the indent level of the control structure Assignment (like in this issue) is one thing where the LHS can break separately (at least if the RHS is inlined like here for I can only see non-computed member expressions And not sure what if any other types of enclosing expressions could break that way? Eg this indents the whole control structure:
|
This
is formatting like
so the class body doesn't parse as indented
The text was updated successfully, but these errors were encountered: