Skip to content

Unnecessary reference to unsound null safety #74366

@timsneath

Description

@timsneath

When rebuilding the Flutter tool, Flutter prints an informational message to the console that the tool is compiled with unsound null safety. This is unnecessary friction, since it seems like a warning to the developer, but they can't do anything about it. We should mute this message (e.g. by passing a --silent flag).

$ flutter upgrade
Upgrading Flutter to 1.26.0-2.0.pre.442 from 1.26.0-2.0.pre.440 in /Users/timsneath/flutter...
Building flutter tool...
Info: Compiling with unsound null safety

Upgrading engine...

Flutter 1.26.0-2.0.pre.442 • channel master • [email protected]:flutter/flutter.git
Framework • revision 97481e125a (16 minutes ago) • 2021-01-20 17:44:02 -0600
Engine • revision 0c79393dde
Tools • Dart 2.12.0 (build 2.12.0-240.0.dev)

etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1High-priority issues at the top of the work lista: null-safetySupport for Dart's null safety featurea: qualityA truly polished experiencetoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions