forked from firka/flutter
Migrate more tool unit tests to null safety (#80002)
This commit is contained in:
@@ -48,7 +48,7 @@ bool _inUnitTest() {
|
||||
///
|
||||
/// The specification for the language version tag is defined at:
|
||||
/// https://github.com/dart-lang/language/blob/master/accepted/future-releases/language-versioning/feature-specification.md#individual-library-language-version-override
|
||||
LanguageVersion determineLanguageVersion(File file, Package package, String flutterRoot) {
|
||||
LanguageVersion determineLanguageVersion(File file, Package? package, String flutterRoot) {
|
||||
int blockCommentDepth = 0;
|
||||
// If reading the file fails, default to a null-safe version. The
|
||||
// command will likely fail later in the process with a better error
|
||||
|
||||
Reference in New Issue
Block a user