Finish removing null-safety mode, checks, and reporting.#163153
Finish removing null-safety mode, checks, and reporting.#163153auto-submit[bot] merged 3 commits intoflutter:masterfrom
null-safety mode, checks, and reporting.#163153Conversation
|
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.
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.
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?
|
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.