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 follow-up from #207 and #206.
The patch fixed working with function calls in code like (a = b)(foo), but did not take the assignment operator into account.
A simple equal sign will ensure that only b will ever be called, as it is assigned into a.
However, operators like ||= will not.
The text was updated successfully, but these errors were encountered:
Turns out this will require a bit of a refactor.
Currently, this comes up in normalizeMethodName() which is supposed to return one method name as the normalized name. However, in case of a call like a ||= b)(foo) the function that's called is either a or b, so we need to check both..
This is a follow-up from #207 and #206.
The patch fixed working with function calls in code like (
a = b)(foo)
, but did not take the assignment operator into account.A simple equal sign will ensure that only
b
will ever be called, as it is assigned intoa
.However, operators like
||=
will not.The text was updated successfully, but these errors were encountered: