Skip to content

FN neg_multiply: x *= -1 ? #3037

Open
Open
@matthiaskrgr

Description

@matthiaskrgr

For some reason the lint catches

x = x * -1;

but not

x *= -1;

is this intended?
(I assume it wants x = -x)

Metadata

Metadata

Assignees

No one assigned

    Labels

    I-false-negativeIssue: The lint should have been triggered on code, but wasn'tS-needs-discussionStatus: Needs further discussion before merging or work can be started

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions