Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@mdebbar
Copy link
Contributor

@mdebbar mdebbar commented Sep 15, 2022

For some reason, we still compile our tests with the --no-sound-null-safety flag that disables sound null safety. This flag was added in #20390 in 2020 (IIRC, that was before we fully migrated to null safety, so the flag made sense).

Now that all of our code and tests are migrated to null safety, let's remove this flag and let Dart compile our tests with sound null safety.

This PR gets rid of the warning:

Info: Compiling without sound null safety ⚠️
Dart 3 will only support sound null safety, see https://dart.dev/null-safety

@flutter-dashboard flutter-dashboard bot added the platform-web Code specifically for the web engine label Sep 15, 2022
@flutter-dashboard
Copy link

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

Copy link
Contributor

@yjbanov yjbanov left a comment

Choose a reason for hiding this comment

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

lgtm

@mdebbar mdebbar added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 15, 2022
@auto-submit auto-submit bot merged commit 071f888 into flutter:main Sep 15, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 15, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 15, 2022
zanderso pushed a commit to flutter/flutter that referenced this pull request Sep 15, 2022
…111680)

* 071f88862 [web] Compile tests with sound null safety (flutter/engine#36169)

* 73c9b8713 Roll Skia from ce330bb13879 to 962fd1f9abfc (2 revisions) (flutter/engine#36170)

* 2fb44a2bc Fix HTML renderer does not render border (flutter/engine#34812)
Oleh-Sv pushed a commit to Oleh-Sv/engine that referenced this pull request Sep 28, 2022
@mdebbar mdebbar deleted the sound_mode_in_tests branch January 17, 2023 18:33
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App needs tests platform-web Code specifically for the web engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants