8000 dart tool: warn about Dart 3 only allowing sound null safety · Issue #49924 · dart-lang/sdk · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
< 8000 /react-partial>
dart tool: warn about Dart 3 only allowing sound null safety #49924
Closed
@mit-mit

Description

@mit-mit

In Dart 3 only sound null safety will be allowed.

The dart tool already prints a warning in the compile command when using unsound or no null safety, but we should update to provide more details, and to link to the dart.dev null safety page for more details.

We discussed also adding a warning message to the run command, but decided against that as adding even Info messages to run can be breaking due to scripts and command line app tests looking at the console output.

Metadata

Metadata

Assignees

Labels

area-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0