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 is a pretty major bug. The Layout/MultilineMethodArgumentLineBreaks cop is throwing errors when an assignment spans multiple lines. I'm assuming because it sees the assignment operator as a "method" (which it technically is but should not be treated like a method call for the purposes of this cop).
This is a pretty major bug. The
Layout/MultilineMethodArgumentLineBreaks
cop is throwing errors when an assignment spans multiple lines. I'm assuming because it sees the assignment operator as a "method" (which it technically is but should not be treated like a method call for the purposes of this cop).Original PR: #6826
/cc @maxh
Expected behavior
The following code should not throw an error.
Actual behavior
It throws an error.
Steps to reproduce the problem
See code snippet above.
RuboCop version
The text was updated successfully, but these errors were encountered: