You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is somewhat similar to #1465. Where that one relates to conditional expressions on the right-hand side of "assignments" (=, :, =>), this is about method chains. A method chain can split in a few ways:
munificent
changed the title
[tall] Allow an unsplit method target on the same line as an assignment
Allow an unsplit method target on the same line as an assignment
Aug 5, 2024
This issue is somewhat similar to #1465. Where that one relates to conditional expressions on the right-hand side of "assignments" (
=
,:
,=>
), this is about method chains. A method chain can split in a few ways:Currently, if the right-hand side of an assignment is a method chain that chain splits, it also splits the assignment, like:
It would be nice to allow the target to stay on the same line as the assignment:
This would only apply if the target itself doesn't split. A split in the target would still force the assignment to split. So:
The text was updated successfully, but these errors were encountered: