Skip to content

[analyzer] Switch language version usages of Version to LanguageVersion #60051

Open
@parlough

Description

@parlough

The analyzer and its siblings should consider switching from Version from package:pub_semver to LanguageVersion from package:package_config when it needs to represent a language version, including for experimental features. The type is lighter weight and more semantic.

Where needed, an extension to convert between the two types can be added and used.

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work onanalyzer-technical-debtarea-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions