-
Notifications
You must be signed in to change notification settings - Fork 29.7k
NNBD integration_test #74922
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
NNBD integration_test #74922
Conversation
jonahwilliams
left a comment
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
ditman
left a comment
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.
Very much looking forward to this! Flutter analyze has a few opinions, though (see analyze-linux check?)
|
I forgot to migrate the example. Also looking into analysis issues. |
|
One thing I'm not 100% sure of - the driver migration made This package was calling wtih null in a couple places. I've replaced those with the empty string for now. |
goderbauer
left a comment
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
| @visibleForTesting vm.VmService? vmService, | ||
| }) async { | ||
| assert(streams != null); | ||
| assert(streams != null); // ignore: unnecessary_null_comparison |
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.
for the other packages we just disabled this lint in the analyzer_options.yaml
|
Test failures are real, looking into it. |
|
Issue was that requestData needds to accept null in driver. Updated that as part of this PR. |
|
This pull request is not suitable for automatic merging in its current state.
|
|
This pull request is not suitable for automatic merging in its current state.
|
This reverts commit 87b0436.
Fixes #71379
Unlike flutter/plugins#3158, I did this migration with the tool and avoided much refactoring.
I think we should still refactor the way the vm service ivar is handled, but that can be done in a separate patch.
This will require a g3fix to enable null-safety on the build internally.
Pre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.