Skip to content

[wildcards] report a warning on final wildcard variables #55920

@pq

Description

@pq

With wildcard variables, this doesn't make much sense:

void f() {
  final _ = '';
}

I'm thinking we should produce a warning?

/cc @eernstg @lrhn @kallentu

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work ondevexp-warningIssues with the analyzer's Warning codesfeature-wildcard-variablesImplementation of the wildcard variables featurelegacy-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