Skip to content

"ignore [lint]" quick-fix doesn't correctly add to existing ignores #3407

@DanTup

Description

@DanTup
void main(List<String> args) {
  // ignore: foo
  var a = 1;
}

Using the fix to ignore unused_local_variable just adds an additional line (making ignore: foo not work), but it should merge them (// ignore: foo, unused_local_variable).

Metadata

Metadata

Assignees

No one assigned

    Labels

    in editorRelates to code editing or language featuresis bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions