Skip to content

[wildcards] add a new SDK_VERSION_WILDCARDS diagnostic #60074

Open
@pq

Description

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

Assignees

Labels

P2A bug or feature request we're likely to work onanalyzer-warningIssues with the analyzer's Warning codesarea-analyzerUse area-analyzer for Dart analyzer issues, including the analysis server and code completion.feature-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