Skip to content

Changing sdk constraint doesn't affect analysis #44131

@Hixie

Description

@Hixie

It's going to be very common in the coming few releases for people to find that they need to update their "sdk" constraint in their pubspec.yaml. Currently, this does not affect flutter analyze --watch results, but it should have a serious effect on that. (In particular, switching between nnbd-enabled and nnbd-disabled versions.)

cc @devoncarew @mit-mit @leafpetersen

Metadata

Metadata

Assignees

Labels

NNBDIssues related to NNBD ReleaseP1A high priority bug; for example, a single project is unusable or has many test failureslegacy-area-analyzerUse area-devexp instead.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions