Skip to content

[wildcards] add a new SDK_VERSION_WILDCARDS diagnostic #60074

@pq

Description

@pq

Today, when you try and use wildcards and you don't have a compatible SDK constraint you get an unhelpful duplicate definition warning. A more targeted one, telling you to bump your SDK constraints would be way better. (See for example: SDK_VERSION_CONSTRUCTOR_TEAROFFS.)

/fyi @kallentu

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-warningIssues with the analyzer's Warning codesfeature-wildcard-variablesImplementation of the wildcard variables featuretype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions