Analyzer 0.33.3 has improper min SDK constraint #35158
Labels
dart-model-analyzer-package
Issues related to package:analyzer
legacy-area-analyzer
Use area-devexp instead.
P1
A high priority bug; for example, a single project is unusable or has many test failures
The latest analyzer doesn't import
dart:async
but referencesFuture
, which is only valid as of 2.1.0-dev.5.0, but the stated min SDK is 2.0.0-dev.48.0.This results in the following static error for all users between that sdk and 2.1.0-dev.5.0:
The best fix would be to publish a +1 release which adds the
dart:async
import, but no minimum SDK change, and then immediately re-release the current version with an additional +1 but change the minimum SDK constraint to 2.1.0-dev.5.0.The text was updated successfully, but these errors were encountered: