Skip to content

Chasing method names in assignment should take operator into account #210

@mozfreddyb

Description

@mozfreddyb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions