-
Notifications
You must be signed in to change notification settings - Fork 28.9k
Clean up the bindings APIs #86388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Clean up the bindings APIs #86388
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add more documentation. * Make premature binding accesses have better runtime errors. * Make accesses to `instance` not required `!`. * Rationalize our "ensureInitialized" etc logic.
cc @goderbauer for review |
goderbauer
approved these changes
Jul 13, 2021
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Gardeners: In case this causes any devicelab failures, please do not hesitate to revert it. Thanks! |
zanderso
added a commit
that referenced
this pull request
Jul 14, 2021
Hixie
added a commit
to Hixie/flutter
that referenced
this pull request
Feb 3, 2022
* Add more documentation. * Make premature binding accesses have better runtime errors. * Make accesses to `instance` not required `!`. * Rationalize our "ensureInitialized" etc logic. Fixes flutter#64830. Most of these changes were done using `dart fix --apply`, but they have been squashed into one commit for easier merging. To see previous reviews of this PR, see flutter#83843, flutter#86388, flutter#86438, and flutter#89451.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
a: accessibility
Accessibility, e.g. VoiceOver or TalkBack. (aka a11y)
a: tests
"flutter test", flutter_test, or one of our tests
c: contributor-productivity
Team-specific productivity, code health, technical debt.
d: examples
Sample code and demos
f: cupertino
flutter/packages/flutter/cupertino repository
f: material design
flutter/packages/flutter/material repository.
framework
flutter/packages/flutter repository. See also f: labels.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
instance
not required!
.Fixes #64830.
This is identical to #83843 (which was reverted in #86386) except that it removes a bogus assert in the driver tests that I had missed because it turns out we don't run any driver tests pre-commit. Oops.
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.