Skip to content

Convert to wildcard variable fix for unnecessary_underscores could be applied automatically #61431

@FMorschel

Description

@FMorschel

Repro:

void foo(void Function(int) fn) {}

void bar() {
  foo((__) {}); `unnecessary_underscores`
}

For the above case, we could apply this automatically.

CC @bwilkerson

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-dartfixIssues with the dartfix packagetype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions