Skip to content

Add quick fix for making local variable non-final #33290

@greglittlefield-wf

Description

@greglittlefield-wf

This currently exists for final fields (related: #25316), and would be nice to have for local variables as well.

This would make it a little less painful to have the prefer_final_locals lint turned on.

Current behavior in Dart 2.0.0-dev.59.0:

screen shot 2018-05-30 at 10 16 16 pm

screen shot 2018-05-30 at 10 17 43 pm

Metadata

Metadata

Assignees

No one assigned

    Labels

    devexp-linterIssues with the analyzer's support for the linter packagedevexp-quick-fixIssues with analysis server (quick) fixeslegacy-area-analyzerUse area-devexp instead.type-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