Skip to content

[linter] unused_parameter #60587

Open
Open
@stephane-archer

Description

@stephane-archer
class Foo {
  static void _a(String a, String b) { // A linter should point out that b is useless here.
    print(a);
  }

  void b(String a) {
    _a(a, "i'm useless no linter told me...");
  }
}

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-linterIssues with the analyzer's support for the linter 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