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

Conversation

@cbracken
Copy link
Member

The underlying _updateNode call requires that all parameters be set
non-null. There's a single call site in the framework in
lib/src/semantics/semantics.dart in SemanticsNode.updateWith(). At that
call site, all parameters are either asserted non-null in the
constructor of SemanticsData or defaulted to null, with the sole
exception of textDirection.

The ergonomics of this method are currently pretty ugly and we should
consider migrating most of the defaulting and assertions that we apply
at the call site up to the definition in dart:ui. That work is filed as
flutter/flutter#57720.

@cbracken cbracken requested a review from yjbanov May 21, 2020 06:45
@auto-assign auto-assign bot requested a review from iskakaushik May 21, 2020 06:46
@cbracken
Copy link
Member Author

Looks like there's at least one legitimate failure in the presubmit. Will take a look and update the patch.

The underlying _updateNode call requires that all parameters be set
non-null. There's a single call site in the framework in
lib/src/semantics/semantics.dart in SemanticsNode.updateWith(). At that
call site, all parameters are either asserted non-null in the
constructor of SemanticsData or defaulted to null, with the sole
exception of textDirection.

The ergonomics of this method are currently pretty ugly and we should
consider migrating most of the defaulting and assertions that we apply
at the call site up to the definition in dart:ui. That work is filed as
flutter/flutter#57720.
@yjbanov
Copy link
Contributor

yjbanov commented Jun 2, 2020

The Mac iOS Engine failure does not seem related. Merging, but will keep an eye on it, and revert if it causes trouble.

@yjbanov yjbanov merged commit cc08940 into flutter:master Jun 2, 2020
@stuartmorgan-g
Copy link
Contributor

The Mac iOS Engine failure does not seem related. Merging, but will keep an eye on it, and revert if it causes trouble.

Since the same failure is happening consistently on the tree now, start with this PR, it seems likely that it was related, and did cause trouble. Reverting.

stuartmorgan-g pushed a commit that referenced this pull request Jun 3, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 3, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 4, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 4, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 4, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 4, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 4, 2020
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jun 5, 2020
@cbracken cbracken deleted the nnbd-semantics branch June 24, 2020 04:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants