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
Add `self.` when it has been left out on the right hand side,
so that we can determine that it's a swap kind of assignment,
and thus allow it.
Also fixesrubocop#3418.
Summary: The Style/ParallelAssignment should ignore
self.
on the left when detecting variable swapActual behavior:
I have a code like
It says:
That is expected, ok. I fix it
Now I get
Expected behavior: No Style/ParallelAssignment vioaltions should be found in the line
I guess the cop should treat vars on the left with
self.
like vars on the right withoutself.
The text was updated successfully, but these errors were encountered: