Skip to content

[flutter_tools] add missing null-safety flags - #59773

Merged
jonahwilliams merged 4 commits into
flutter:masterfrom
jonahwilliams:add_missing_null_safety_flags
Jun 18, 2020
Merged

jonahwilliams merged 4 commits into
flutter:masterfrom
jonahwilliams:add_missing_null_safety_flags

Conversation

@jonahwilliams

Copy link
Copy Markdown
Contributor

Description

Some of the null-safety commands were missing - plumb them through. Ensure that verbose mode shows their output, and clean up the messaging around sound-null-safety.

Fixes #59769

Adds a test that validate each of the null safety supporting build commands has everything plumbed through.

@fluttergithubbot fluttergithubbot added the tool Affects the "flutter" command-line tool. See also t: labels. label Jun 18, 2020
BuildIOSCommand(verboseHelp: false),
BuildAppBundleCommand(verboseHelp: false),
BuildFuchsiaCommand(verboseHelp: false),
BuildAarCommand(verboseHelp: false),

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if BuildIosFrameworks makes sense here

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably spiritually the same as BuildAarCommand, right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh yes, but it would need to be updated to support using BuildInfo the same way that BuildAar does.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh right. I got that work confused with the assemble work.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #59874

@jonahwilliams
jonahwilliams requested a review from jmagman June 18, 2020 16:49
Comment on lines +480 to +481
'Whether to override the inferred null safety mode to support out of '
'order migrations. By default, Flutter applications will attempt to '

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

out-of-order has hyphens as an adjective.

What does "out of order" mean exactly?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rephrased

BuildIOSCommand(verboseHelp: false),
BuildAppBundleCommand(verboseHelp: false),
BuildFuchsiaCommand(verboseHelp: false),
BuildAarCommand(verboseHelp: false),

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably spiritually the same as BuildAarCommand, right?

@jonahwilliams
jonahwilliams requested a review from jmagman June 18, 2020 18:45

@jmagman jmagman left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jonahwilliams
jonahwilliams merged commit 01e09ea into flutter:master Jun 18, 2020
@jonahwilliams
jonahwilliams deleted the add_missing_null_safety_flags branch June 18, 2020 19:34
zljj0818 pushed a commit to zljj0818/flutter that referenced this pull request Jun 22, 2020
Some of the null-safety commands were missing - plumb them through. Ensure that verbose mode shows their output, and clean up the messaging around sound-null-safety.

Fixes flutter#59769

Adds a test that validate each of the null safety supporting build commands has everything plumbed through.
mingwandroid pushed a commit to mingwandroid/flutter that referenced this pull request Sep 6, 2020
Some of the null-safety commands were missing - plumb them through. Ensure that verbose mode shows their output, and clean up the messaging around sound-null-safety.

Fixes flutter#59769

Adds a test that validate each of the null safety supporting build commands has everything plumbed through.
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

tool Affects the "flutter" command-line tool. See also t: labels.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

flutter build -d windows --no-sound-null-safety

4 participants