-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
area-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.
Description
Right now we ship the analyzer package with caret constraints on the Dart SDK, e.g. ^3.9.0. One might interpret this to mean, "I will work with the Dart SDK 3.9.0, and 3.10.0, and 3.11.0, etc." That's normally a fair assumption, with semantic versioning.
But we don't really use semantic versioning in the Dart SDK. 3.10.0 might introduce a new syntax, like dot-shorthands. And code in the Dart SDK 3.10.0 might use that new syntax. For example, this CL. Now the analyzer package which has SDK constraint ^3.9.0 is expected to parse that new syntax (or... kernel or analyzer summary format for that syntax?).
Should we set analyzer constraints on the SDK more conservatively, like >=3.9.0 <3.10.0?
Metadata
Metadata
Assignees
Labels
area-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.