-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Finish removing null-safety mode, checks, and reporting.
#163153
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
Finish removing null-safety mode, checks, and reporting.
#163153
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
|
autosubmit label was removed for flutter/flutter/163153, because - The status or check suite Linux web_canvaskit_tests_7_last has failed. Please fix the issues identified (or deflake) before re-applying this label.
|
| platformDillName = 'ddc_outline.dill'; | ||
| } | ||
|
|
||
| final LanguageVersion languageVersion = LanguageVersion(2, 8); |
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 errors on CI are caused by this, 2.8 is the last non-null safe version. I think if you just leave the language version string out, it will just work, but specifying an old version won't
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.
Right, it was my mistake, the original code was:
final LanguageVersion languageVersion = currentLanguageVersion(_fileSystem, Cache.flutterRoot!);Is that better (or worse) than your suggestion of omission?
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.
That will work
|
autosubmit label was removed for flutter/flutter/163153, because - The status or check suite Linux analyze has failed. Please fix the issues identified (or deflake) before re-applying this label. |
|
autosubmit label was removed for flutter/flutter/163153, because - The status or check suite Google testing has failed. Please fix the issues identified (or deflake) before re-applying this label. |
Closes #162846.
At HEAD, including before this PR, it was impossible to use, or pass-in, an unsound null-safety mode, but we still had code checking for it, and reported analytics (I think? Some of these are
package:usagespecific which is defunct).This PR eradicates the otherwise unused code.