-
Notifications
You must be signed in to change notification settings - Fork 28.7k
[flutter_tools] migrate some files to null safety #110354
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
Conversation
final TestGoldenComparatorProcess process = await (_processForTestFile(testUri) as FutureOr<TestGoldenComparatorProcess>); | ||
final TestGoldenComparatorProcess? process = await _processForTestFile(testUri); | ||
if (process == null) { | ||
return 'unknown error'; |
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.
never seen this code before, but I wonder should we leave a breadcrumb here that we hit this branch rather than the later unknown error at 113?
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.
The error is different now. not sure how useful it is, but at least we can trace it back here
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.
I don't always investigate failing golden tests, but when I do, it's a traumatic experience.
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 with a nit about 'unknown error'
Part of #71511