Skip to content

Remove const fix for const_with_undefined_constructor #60964

Open
@FMorschel

Description

@FMorschel

Repro:

enum E { v }

E e = const E.v; // const_with_undefined_constructor

The above triggers const_with_undefined_constructor on v. We could add a Remove 'const' quick-fix for this case.

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-quick-fixIssues with analysis server (quick) fixesimprove-diagnosticsRelated to the quality of diagnostic messages

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions