Skip to content

Augment output in dart compile to clarify null safety compilation mode #44234

@vsmenon

Description

@vsmenon

I got confused when retrying a migration. I'd accidently left a @dart = 2.10 in my entry point but migrated the rest of the app and the pubspec.

Might be worth emitting a warning that the mode disagrees with the pubspec.

Also not sure if this is best done in CFE or flutter tool - @mit-mit @johnniwinther @jonahwilliams

Metadata

Metadata

Labels

NNBDIssues related to NNBD ReleaseP1A high priority bug; for example, a single project is unusable or has many test failuresarea-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.legacy-area-front-endLegacy: Use area-dart-model instead.type-enhancementA request for a change that isn't a bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions