Skip to content

RemoveUnusedLocalVariables keeps assignement of unused variable, but removes its declaration #1743

@murdos

Description

@murdos
String foo;
Long.parseLong(foo = "123");

is changed to the following code that doesn't compile anymore:

Long.parseLong(foo = "123");

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions