diff --git a/pkg/_fe_analyzer_shared/lib/src/messages/codes_generated.dart b/pkg/_fe_analyzer_shared/lib/src/messages/codes_generated.dart index ca9c33c6ec4..450d672ca07 100644 --- a/pkg/_fe_analyzer_shared/lib/src/messages/codes_generated.dart +++ b/pkg/_fe_analyzer_shared/lib/src/messages/codes_generated.dart @@ -9382,7 +9382,7 @@ const Template templateNullSafetyDisabledInvalidLanguageVersion = const Template( problemMessageTemplate: - r"""This requires the null safety language feature, which requires language version of #string2 or higher.""", + r"""This requires null safety, which requires language version of #string2 or higher.""", withArguments: _withArgumentsNullSafetyDisabledInvalidLanguageVersion); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. @@ -9397,7 +9397,7 @@ Message _withArgumentsNullSafetyDisabledInvalidLanguageVersion(String string2) { if (string2.isEmpty) throw 'No string provided'; return new Message(codeNullSafetyDisabledInvalidLanguageVersion, problemMessage: - """This requires the null safety language feature, which requires language version of ${string2} or higher.""", + """This requires null safety, which requires language version of ${string2} or higher.""", arguments: {'string2': string2}); } @@ -9417,8 +9417,7 @@ const Template< String string)> templateNullSafetyOptOutExplicit = const Template< Message Function(String string)>( - problemMessageTemplate: - r"""Null safety features are disabled for this library.""", + problemMessageTemplate: r"""Null safety is disabled for this library.""", correctionMessageTemplate: r"""Try removing the `@dart=` annotation or setting the language version to #string or higher.""", withArguments: _withArgumentsNullSafetyOptOutExplicit); @@ -9433,7 +9432,7 @@ const Code codeNullSafetyOptOutExplicit = Message _withArgumentsNullSafetyOptOutExplicit(String string) { if (string.isEmpty) throw 'No string provided'; return new Message(codeNullSafetyOptOutExplicit, - problemMessage: """Null safety features are disabled for this library.""", + problemMessage: """Null safety is disabled for this library.""", correctionMessage: """Try removing the `@dart=` annotation or setting the language version to ${string} or higher.""", arguments: {'string': string}); @@ -9445,8 +9444,7 @@ const Template< String string)> templateNullSafetyOptOutImplicit = const Template< Message Function(String string)>( - problemMessageTemplate: - r"""Null safety features are disabled for this library.""", + problemMessageTemplate: r"""Null safety is disabled for this library.""", correctionMessageTemplate: r"""Try removing the package language version or setting the language version to #string or higher.""", withArguments: _withArgumentsNullSafetyOptOutImplicit); @@ -9461,7 +9459,7 @@ const Code codeNullSafetyOptOutImplicit = Message _withArgumentsNullSafetyOptOutImplicit(String string) { if (string.isEmpty) throw 'No string provided'; return new Message(codeNullSafetyOptOutImplicit, - problemMessage: """Null safety features are disabled for this library.""", + problemMessage: """Null safety is disabled for this library.""", correctionMessage: """Try removing the package language version or setting the language version to ${string} or higher.""", arguments: {'string': string}); @@ -10997,23 +10995,19 @@ const Code codeStrongModeNNBDButOptOut = messageStrongModeNNBDButOptOut; // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const MessageCode messageStrongModeNNBDButOptOut = const MessageCode( "StrongModeNNBDButOptOut", - problemMessage: - r"""A library can't opt out of null safety by default, when using sound null safety."""); + problemMessage: r"""Library doesn't support null safety."""); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. -const Template< - Message Function( - List - _names)> templateStrongModeNNBDPackageOptOut = const Template< - Message Function(List _names)>( - problemMessageTemplate: - r"""Cannot run with sound null safety, because the following dependencies -don't support null safety: +const Template _names)> + templateStrongModeNNBDPackageOptOut = + const Template _names)>( + problemMessageTemplate: + r"""The following dependencies don't support null safety: #names For solutions, see https://dart.dev/go/unsound-null-safety""", - withArguments: _withArgumentsStrongModeNNBDPackageOptOut); + withArguments: _withArgumentsStrongModeNNBDPackageOptOut); // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE. const Code _names)> @@ -11027,9 +11021,7 @@ Message _withArgumentsStrongModeNNBDPackageOptOut(List _names) { if (_names.isEmpty) throw 'No names provided'; String names = itemizeNames(_names); return new Message(codeStrongModeNNBDPackageOptOut, - problemMessage: - """Cannot run with sound null safety, because the following dependencies -don't support null safety: + problemMessage: """The following dependencies don't support null safety: ${names} diff --git a/pkg/front_end/messages.yaml b/pkg/front_end/messages.yaml index e6b8611df3f..612328afe62 100644 --- a/pkg/front_end/messages.yaml +++ b/pkg/front_end/messages.yaml @@ -306,7 +306,7 @@ ExperimentDisabled: analyzerCode: ParserErrorCode.EXPERIMENT_NOT_ENABLED NullSafetyDisabledInvalidLanguageVersion: - problemMessage: "This requires the null safety language feature, which requires language version of #string2 or higher." + problemMessage: "This requires null safety, which requires language version of #string2 or higher." analyzerCode: ParserErrorCode.EXPERIMENT_NOT_ENABLED ExperimentDisabledInvalidLanguageVersion: @@ -1591,12 +1591,11 @@ Unspecified: problemMessage: "#string" StrongModeNNBDButOptOut: - problemMessage: "A library can't opt out of null safety by default, when using sound null safety." + problemMessage: "Library doesn't support null safety." StrongModeNNBDPackageOptOut: problemMessage: | - Cannot run with sound null safety, because the following dependencies - don't support null safety: + The following dependencies don't support null safety: #names @@ -5173,7 +5172,7 @@ FieldNonNullableNotInitializedByConstructorError: problemMessage: "This constructor should initialize field '#name' because its type '#type' doesn't allow null." NullSafetyOptOutExplicit: - problemMessage: "Null safety features are disabled for this library." + problemMessage: "Null safety is disabled for this library." correctionMessage: "Try removing the `@dart=` annotation or setting the language version to #string or higher." ExperimentOptOutExplicit: @@ -5181,7 +5180,7 @@ ExperimentOptOutExplicit: correctionMessage: "Try removing the `@dart=` annotation or setting the language version to #string2 or higher." NullSafetyOptOutImplicit: - problemMessage: "Null safety features are disabled for this library." + problemMessage: "Null safety is disabled for this library." correctionMessage: "Try removing the package language version or setting the language version to #string or higher." NullSafetyOptOutComment: diff --git a/pkg/front_end/testcases/dart2js/mixin_from_opt_in/main.dart.strong.expect b/pkg/front_end/testcases/dart2js/mixin_from_opt_in/main.dart.strong.expect index b59abe40fa9..23dbe0ccb05 100644 --- a/pkg/front_end/testcases/dart2js/mixin_from_opt_in/main.dart.strong.expect +++ b/pkg/front_end/testcases/dart2js/mixin_from_opt_in/main.dart.strong.expect @@ -1,7 +1,7 @@ // // Problems in component: // -// pkg/front_end/testcases/dart2js/mixin_from_opt_in/opt_out_lib.dart: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/dart2js/mixin_from_opt_in/opt_out_lib.dart: Error: Library doesn't support null safety. // library /*isNonNullableByDefault*/; import self as self; @@ -76,7 +76,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/dart2js/mixin_from_opt_in/opt_out_lib.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/dart2js/mixin_from_opt_in/opt_out_lib.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.9 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/dart2js/mixin_from_opt_in/main.dart.strong.transformed.expect b/pkg/front_end/testcases/dart2js/mixin_from_opt_in/main.dart.strong.transformed.expect index b59abe40fa9..23dbe0ccb05 100644 --- a/pkg/front_end/testcases/dart2js/mixin_from_opt_in/main.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/dart2js/mixin_from_opt_in/main.dart.strong.transformed.expect @@ -1,7 +1,7 @@ // // Problems in component: // -// pkg/front_end/testcases/dart2js/mixin_from_opt_in/opt_out_lib.dart: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/dart2js/mixin_from_opt_in/opt_out_lib.dart: Error: Library doesn't support null safety. // library /*isNonNullableByDefault*/; import self as self; @@ -76,7 +76,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/dart2js/mixin_from_opt_in/opt_out_lib.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/dart2js/mixin_from_opt_in/opt_out_lib.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.9 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/dart2js/mixin_from_opt_in/main.no_link.dart.strong.expect b/pkg/front_end/testcases/dart2js/mixin_from_opt_in/main.no_link.dart.strong.expect index 6c83f5a8f48..06d79d9891a 100644 --- a/pkg/front_end/testcases/dart2js/mixin_from_opt_in/main.no_link.dart.strong.expect +++ b/pkg/front_end/testcases/dart2js/mixin_from_opt_in/main.no_link.dart.strong.expect @@ -27,7 +27,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/dart2js/mixin_from_opt_in/opt_out_lib.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/dart2js/mixin_from_opt_in/opt_out_lib.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.9 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/dart2js/mixin_from_opt_in/main.no_link.dart.strong.transformed.expect b/pkg/front_end/testcases/dart2js/mixin_from_opt_in/main.no_link.dart.strong.transformed.expect index 2c29078dcc7..d1adb6d944b 100644 --- a/pkg/front_end/testcases/dart2js/mixin_from_opt_in/main.no_link.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/dart2js/mixin_from_opt_in/main.no_link.dart.strong.transformed.expect @@ -27,7 +27,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/dart2js/mixin_from_opt_in/opt_out_lib.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/dart2js/mixin_from_opt_in/opt_out_lib.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.9 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/general/experiment_release_version/main.dart.weak.expect b/pkg/front_end/testcases/general/experiment_release_version/main.dart.weak.expect index 593531e9579..af80edae1c4 100644 --- a/pkg/front_end/testcases/general/experiment_release_version/main.dart.weak.expect +++ b/pkg/front_end/testcases/general/experiment_release_version/main.dart.weak.expect @@ -1,7 +1,7 @@ // // Problems outside component: // -// pkg/front_end/testcases/general/experiment_release_version/allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.9 or higher. // int? versioned_2_8_AllowedPackage; // error // ^ @@ -9,12 +9,12 @@ // // @dart=2.8 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/unversioned_lib.dart:5:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/unversioned_lib.dart:5:4: Error: Null safety is disabled for this library. // Try removing the package language version or setting the language version to 2.10 or higher. // int? versionedUnallowedPackage; // error // ^ // -// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_8_AllowedPackage; // error // ^ @@ -22,7 +22,7 @@ // // @dart=2.8 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/versioned_2_9_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/versioned_2_9_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_9_AllowedPackage; // error // ^ @@ -58,7 +58,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/experiment_release_version/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_8_Library; // error // ^ @@ -75,7 +75,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/experiment_release_version/versioned_2_9_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/versioned_2_9_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_9_Library; // error // ^ @@ -92,7 +92,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/experiment_release_version/versioned_2_10_lib.dart:8:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/versioned_2_10_lib.dart:8:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_10_Library; // error // ^ diff --git a/pkg/front_end/testcases/general/experiment_release_version/main.dart.weak.modular.expect b/pkg/front_end/testcases/general/experiment_release_version/main.dart.weak.modular.expect index 593531e9579..af80edae1c4 100644 --- a/pkg/front_end/testcases/general/experiment_release_version/main.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/experiment_release_version/main.dart.weak.modular.expect @@ -1,7 +1,7 @@ // // Problems outside component: // -// pkg/front_end/testcases/general/experiment_release_version/allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.9 or higher. // int? versioned_2_8_AllowedPackage; // error // ^ @@ -9,12 +9,12 @@ // // @dart=2.8 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/unversioned_lib.dart:5:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/unversioned_lib.dart:5:4: Error: Null safety is disabled for this library. // Try removing the package language version or setting the language version to 2.10 or higher. // int? versionedUnallowedPackage; // error // ^ // -// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_8_AllowedPackage; // error // ^ @@ -22,7 +22,7 @@ // // @dart=2.8 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/versioned_2_9_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/versioned_2_9_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_9_AllowedPackage; // error // ^ @@ -58,7 +58,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/experiment_release_version/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_8_Library; // error // ^ @@ -75,7 +75,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/experiment_release_version/versioned_2_9_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/versioned_2_9_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_9_Library; // error // ^ @@ -92,7 +92,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/experiment_release_version/versioned_2_10_lib.dart:8:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/versioned_2_10_lib.dart:8:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_10_Library; // error // ^ diff --git a/pkg/front_end/testcases/general/experiment_release_version/main.dart.weak.outline.expect b/pkg/front_end/testcases/general/experiment_release_version/main.dart.weak.outline.expect index 69b2423c396..065d280142c 100644 --- a/pkg/front_end/testcases/general/experiment_release_version/main.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/experiment_release_version/main.dart.weak.outline.expect @@ -1,7 +1,7 @@ // // Problems outside component: // -// pkg/front_end/testcases/general/experiment_release_version/allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.9 or higher. // int? versioned_2_8_AllowedPackage; // error // ^ @@ -9,12 +9,12 @@ // // @dart=2.8 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/unversioned_lib.dart:5:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/unversioned_lib.dart:5:4: Error: Null safety is disabled for this library. // Try removing the package language version or setting the language version to 2.10 or higher. // int? versionedUnallowedPackage; // error // ^ // -// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_8_AllowedPackage; // error // ^ @@ -22,7 +22,7 @@ // // @dart=2.8 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/versioned_2_9_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/not_allowed_package/lib/versioned_2_9_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_9_AllowedPackage; // error // ^ @@ -59,7 +59,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/experiment_release_version/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_8_Library; // error // ^ @@ -76,7 +76,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/experiment_release_version/versioned_2_9_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/versioned_2_9_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_9_Library; // error // ^ @@ -93,7 +93,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/experiment_release_version/versioned_2_10_lib.dart:8:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/versioned_2_10_lib.dart:8:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_10_Library; // error // ^ diff --git a/pkg/front_end/testcases/general/experiment_release_version/main.dart.weak.transformed.expect b/pkg/front_end/testcases/general/experiment_release_version/main.dart.weak.transformed.expect index c74d69adb09..02214baeff4 100644 --- a/pkg/front_end/testcases/general/experiment_release_version/main.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/experiment_release_version/main.dart.weak.transformed.expect @@ -26,7 +26,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/experiment_release_version/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_8_Library; // error // ^ @@ -43,7 +43,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/experiment_release_version/versioned_2_9_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/versioned_2_9_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_9_Library; // error // ^ @@ -60,7 +60,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/experiment_release_version/versioned_2_10_lib.dart:8:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/experiment_release_version/versioned_2_10_lib.dart:8:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_10_Library; // error // ^ diff --git a/pkg/front_end/testcases/general/null_safety_invalid_experiment.dart.weak.expect b/pkg/front_end/testcases/general/null_safety_invalid_experiment.dart.weak.expect index 8c5454872bc..98ef6e92ff3 100644 --- a/pkg/front_end/testcases/general/null_safety_invalid_experiment.dart.weak.expect +++ b/pkg/front_end/testcases/general/null_safety_invalid_experiment.dart.weak.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/null_safety_invalid_experiment.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/null_safety_invalid_experiment.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // int? i; // ^ diff --git a/pkg/front_end/testcases/general/null_safety_invalid_experiment.dart.weak.modular.expect b/pkg/front_end/testcases/general/null_safety_invalid_experiment.dart.weak.modular.expect index 8c5454872bc..98ef6e92ff3 100644 --- a/pkg/front_end/testcases/general/null_safety_invalid_experiment.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/null_safety_invalid_experiment.dart.weak.modular.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/null_safety_invalid_experiment.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/null_safety_invalid_experiment.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // int? i; // ^ diff --git a/pkg/front_end/testcases/general/null_safety_invalid_experiment.dart.weak.outline.expect b/pkg/front_end/testcases/general/null_safety_invalid_experiment.dart.weak.outline.expect index ef7e103ae69..a61e8a9abd4 100644 --- a/pkg/front_end/testcases/general/null_safety_invalid_experiment.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/null_safety_invalid_experiment.dart.weak.outline.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/null_safety_invalid_experiment.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/null_safety_invalid_experiment.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // int? i; // ^ diff --git a/pkg/front_end/testcases/general/null_safety_invalid_experiment.dart.weak.transformed.expect b/pkg/front_end/testcases/general/null_safety_invalid_experiment.dart.weak.transformed.expect index 8c5454872bc..98ef6e92ff3 100644 --- a/pkg/front_end/testcases/general/null_safety_invalid_experiment.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/null_safety_invalid_experiment.dart.weak.transformed.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/null_safety_invalid_experiment.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/null_safety_invalid_experiment.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // int? i; // ^ diff --git a/pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart.weak.expect b/pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart.weak.expect index fe508f10316..95664d034a4 100644 --- a/pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart.weak.expect +++ b/pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart.weak.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // int? i; // ^ diff --git a/pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart.weak.modular.expect b/pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart.weak.modular.expect index fe508f10316..95664d034a4 100644 --- a/pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart.weak.modular.expect +++ b/pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart.weak.modular.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // int? i; // ^ diff --git a/pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart.weak.outline.expect b/pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart.weak.outline.expect index 53acfe1d4e6..0649064dfb3 100644 --- a/pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart.weak.outline.expect +++ b/pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart.weak.outline.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // int? i; // ^ diff --git a/pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart.weak.transformed.expect b/pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart.weak.transformed.expect index fe508f10316..95664d034a4 100644 --- a/pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart.weak.transformed.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/general/null_safety_invalid_experiment_and_language_version.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // int? i; // ^ diff --git a/pkg/front_end/testcases/incremental/can_get_rid_of_nnbd_issue_error.yaml.world.1.expect b/pkg/front_end/testcases/incremental/can_get_rid_of_nnbd_issue_error.yaml.world.1.expect index c60e92f705e..a959cef74d7 100644 --- a/pkg/front_end/testcases/incremental/can_get_rid_of_nnbd_issue_error.yaml.world.1.expect +++ b/pkg/front_end/testcases/incremental/can_get_rid_of_nnbd_issue_error.yaml.world.1.expect @@ -2,8 +2,7 @@ main = main::main; // // Problems in component: // -// Error: Cannot run with sound null safety, because the following dependencies -// don't support null safety: +// Error: The following dependencies don't support null safety: // // - package:foo // - package:bar diff --git a/pkg/front_end/testcases/incremental/can_get_rid_of_nnbd_issue_error.yaml.world.2.expect b/pkg/front_end/testcases/incremental/can_get_rid_of_nnbd_issue_error.yaml.world.2.expect index 8d45bc55db7..b7eafff2d82 100644 --- a/pkg/front_end/testcases/incremental/can_get_rid_of_nnbd_issue_error.yaml.world.2.expect +++ b/pkg/front_end/testcases/incremental/can_get_rid_of_nnbd_issue_error.yaml.world.2.expect @@ -2,8 +2,7 @@ main = main::main; // // Problems in component: // -// Error: Cannot run with sound null safety, because the following dependencies -// don't support null safety: +// Error: The following dependencies don't support null safety: // // - package:foo // - package:bar diff --git a/pkg/front_end/testcases/incremental/can_get_rid_of_nnbd_issue_error.yaml.world.3.expect b/pkg/front_end/testcases/incremental/can_get_rid_of_nnbd_issue_error.yaml.world.3.expect index 4c66e26dfa1..916e5ff8d00 100644 --- a/pkg/front_end/testcases/incremental/can_get_rid_of_nnbd_issue_error.yaml.world.3.expect +++ b/pkg/front_end/testcases/incremental/can_get_rid_of_nnbd_issue_error.yaml.world.3.expect @@ -2,8 +2,7 @@ main = main::main; // // Problems in component: // -// Error: Cannot run with sound null safety, because the following dependencies -// don't support null safety: +// Error: The following dependencies don't support null safety: // // - package:bar // diff --git a/pkg/front_end/testcases/incremental/issue_42323_prime.yaml.world.1.expect b/pkg/front_end/testcases/incremental/issue_42323_prime.yaml.world.1.expect index f2880ca6868..7ba3abf69d4 100644 --- a/pkg/front_end/testcases/incremental/issue_42323_prime.yaml.world.1.expect +++ b/pkg/front_end/testcases/incremental/issue_42323_prime.yaml.world.1.expect @@ -3,7 +3,7 @@ library from "org-dartlang-test:///bin/runMe.dart" as run { // // Problems in library: // -// org-dartlang-test:///bin/runMe.dart:1:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// org-dartlang-test:///bin/runMe.dart:1:1: Error: Library doesn't support null safety. // // @dart = 2.8 // ^^^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/incremental/remove_language_version.yaml.world.1.expect b/pkg/front_end/testcases/incremental/remove_language_version.yaml.world.1.expect index 0c8e689ff3f..0e7c82f4aa4 100644 --- a/pkg/front_end/testcases/incremental/remove_language_version.yaml.world.1.expect +++ b/pkg/front_end/testcases/incremental/remove_language_version.yaml.world.1.expect @@ -3,7 +3,7 @@ library from "org-dartlang-test:///main.dart" as main { // // Problems in library: // -// org-dartlang-test:///main.dart:3:6: Error: Null safety features are disabled for this library. +// org-dartlang-test:///main.dart:3:6: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // int? i; // ^ diff --git a/pkg/front_end/testcases/late_lowering/initializer_rewrite_from_opt_out.dart.strong.expect b/pkg/front_end/testcases/late_lowering/initializer_rewrite_from_opt_out.dart.strong.expect index d9be34ee5e0..1fa8db185f8 100644 --- a/pkg/front_end/testcases/late_lowering/initializer_rewrite_from_opt_out.dart.strong.expect +++ b/pkg/front_end/testcases/late_lowering/initializer_rewrite_from_opt_out.dart.strong.expect @@ -86,7 +86,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/late_lowering/initializer_rewrite_from_opt_out_lib.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/late_lowering/initializer_rewrite_from_opt_out_lib.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.8 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/late_lowering/initializer_rewrite_from_opt_out.dart.strong.transformed.expect b/pkg/front_end/testcases/late_lowering/initializer_rewrite_from_opt_out.dart.strong.transformed.expect index d9be34ee5e0..1fa8db185f8 100644 --- a/pkg/front_end/testcases/late_lowering/initializer_rewrite_from_opt_out.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/initializer_rewrite_from_opt_out.dart.strong.transformed.expect @@ -86,7 +86,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/late_lowering/initializer_rewrite_from_opt_out_lib.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/late_lowering/initializer_rewrite_from_opt_out_lib.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.8 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/late_lowering/non_nullable_from_opt_out.dart.strong.expect b/pkg/front_end/testcases/late_lowering/non_nullable_from_opt_out.dart.strong.expect index 4ae5a1aaf3d..a7edbcb46d6 100644 --- a/pkg/front_end/testcases/late_lowering/non_nullable_from_opt_out.dart.strong.expect +++ b/pkg/front_end/testcases/late_lowering/non_nullable_from_opt_out.dart.strong.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/late_lowering/non_nullable_from_opt_out.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/late_lowering/non_nullable_from_opt_out.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.8 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/late_lowering/non_nullable_from_opt_out.dart.strong.transformed.expect b/pkg/front_end/testcases/late_lowering/non_nullable_from_opt_out.dart.strong.transformed.expect index 4ae5a1aaf3d..a7edbcb46d6 100644 --- a/pkg/front_end/testcases/late_lowering/non_nullable_from_opt_out.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/late_lowering/non_nullable_from_opt_out.dart.strong.transformed.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/late_lowering/non_nullable_from_opt_out.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/late_lowering/non_nullable_from_opt_out.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.8 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/nnbd/issue42607.dart.strong.expect b/pkg/front_end/testcases/nnbd/issue42607.dart.strong.expect index bedfed7fd32..77e114f343e 100644 --- a/pkg/front_end/testcases/nnbd/issue42607.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/issue42607.dart.strong.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd/issue42607.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/nnbd/issue42607.dart:5:1: Error: Library doesn't support null safety. // // @dart = 2.6 // ^^^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/nnbd/issue42607.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/issue42607.dart.strong.transformed.expect index bedfed7fd32..77e114f343e 100644 --- a/pkg/front_end/testcases/nnbd/issue42607.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/issue42607.dart.strong.transformed.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd/issue42607.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/nnbd/issue42607.dart:5:1: Error: Library doesn't support null safety. // // @dart = 2.6 // ^^^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_dill/strong.dart.strong.expect b/pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_dill/strong.dart.strong.expect index 6501ffce0a6..5d4ad02eea2 100644 --- a/pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_dill/strong.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_dill/strong.dart.strong.expect @@ -1,7 +1,7 @@ // // Problems in component: // -// pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_dill/strong_lib.dart: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_dill/strong_lib.dart: Error: Library doesn't support null safety. // library /*isNonNullableByDefault*/; import self as self; diff --git a/pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_dill/strong.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_dill/strong.dart.strong.transformed.expect index 6501ffce0a6..5d4ad02eea2 100644 --- a/pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_dill/strong.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_dill/strong.dart.strong.transformed.expect @@ -1,7 +1,7 @@ // // Problems in component: // -// pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_dill/strong_lib.dart: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_dill/strong_lib.dart: Error: Library doesn't support null safety. // library /*isNonNullableByDefault*/; import self as self; diff --git a/pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_source/strong.dart.strong.expect b/pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_source/strong.dart.strong.expect index fecb1f57f97..02098a86f05 100644 --- a/pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_source/strong.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_source/strong.dart.strong.expect @@ -12,7 +12,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_source/strong_lib.dart:1:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_source/strong_lib.dart:1:1: Error: Library doesn't support null safety. // // @dart = 2.7 // ^^^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_source/strong.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_source/strong.dart.strong.transformed.expect index fecb1f57f97..02098a86f05 100644 --- a/pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_source/strong.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_source/strong.dart.strong.transformed.expect @@ -12,7 +12,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_source/strong_lib.dart:1:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/nnbd/strong_lib_not_ok_from_source/strong_lib.dart:1:1: Error: Library doesn't support null safety. // // @dart = 2.7 // ^^^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/nnbd/strong_package_not_ok_from_dill/strong.dart.strong.expect b/pkg/front_end/testcases/nnbd/strong_package_not_ok_from_dill/strong.dart.strong.expect index 5600de564db..d5c55fc9ffd 100644 --- a/pkg/front_end/testcases/nnbd/strong_package_not_ok_from_dill/strong.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/strong_package_not_ok_from_dill/strong.dart.strong.expect @@ -1,8 +1,7 @@ // // Problems in component: // -// Error: Cannot run with sound null safety, because the following dependencies -// don't support null safety: +// Error: The following dependencies don't support null safety: // // - package:opt_in_package/opt_out_lib.dart // - package:opt_out_package diff --git a/pkg/front_end/testcases/nnbd/strong_package_not_ok_from_dill/strong.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/strong_package_not_ok_from_dill/strong.dart.strong.transformed.expect index 5600de564db..d5c55fc9ffd 100644 --- a/pkg/front_end/testcases/nnbd/strong_package_not_ok_from_dill/strong.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/strong_package_not_ok_from_dill/strong.dart.strong.transformed.expect @@ -1,8 +1,7 @@ // // Problems in component: // -// Error: Cannot run with sound null safety, because the following dependencies -// don't support null safety: +// Error: The following dependencies don't support null safety: // // - package:opt_in_package/opt_out_lib.dart // - package:opt_out_package diff --git a/pkg/front_end/testcases/nnbd/strong_package_not_ok_from_source/strong.dart.strong.expect b/pkg/front_end/testcases/nnbd/strong_package_not_ok_from_source/strong.dart.strong.expect index 874184d882d..6648f34d887 100644 --- a/pkg/front_end/testcases/nnbd/strong_package_not_ok_from_source/strong.dart.strong.expect +++ b/pkg/front_end/testcases/nnbd/strong_package_not_ok_from_source/strong.dart.strong.expect @@ -1,15 +1,14 @@ // // Problems outside component: // -// pkg/front_end/testcases/nnbd/strong_package_not_ok_from_source/opt_in_package/lib/opt_out_lib.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/nnbd/strong_package_not_ok_from_source/opt_in_package/lib/opt_out_lib.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.7 // ^^^^^^^^^^^^ // // // Problems in component: // -// Error: Cannot run with sound null safety, because the following dependencies -// don't support null safety: +// Error: The following dependencies don't support null safety: // // - package:opt_out_package // diff --git a/pkg/front_end/testcases/nnbd/strong_package_not_ok_from_source/strong.dart.strong.transformed.expect b/pkg/front_end/testcases/nnbd/strong_package_not_ok_from_source/strong.dart.strong.transformed.expect index fda0ef7ac78..4b8afa95d60 100644 --- a/pkg/front_end/testcases/nnbd/strong_package_not_ok_from_source/strong.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nnbd/strong_package_not_ok_from_source/strong.dart.strong.transformed.expect @@ -1,8 +1,7 @@ // // Problems in component: // -// Error: Cannot run with sound null safety, because the following dependencies -// don't support null safety: +// Error: The following dependencies don't support null safety: // // - package:opt_out_package // diff --git a/pkg/front_end/testcases/nnbd_mixed/experiment_release_version/main.dart.weak.expect b/pkg/front_end/testcases/nnbd_mixed/experiment_release_version/main.dart.weak.expect index fe41d8c1372..0b3e02e6fbd 100644 --- a/pkg/front_end/testcases/nnbd_mixed/experiment_release_version/main.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd_mixed/experiment_release_version/main.dart.weak.expect @@ -1,7 +1,7 @@ // // Problems outside component: // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.9 or higher. // int? versioned_2_8_AllowedPackage; // error // ^ @@ -9,12 +9,12 @@ // // @dart=2.8 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/unversioned_lib.dart:5:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/unversioned_lib.dart:5:4: Error: Null safety is disabled for this library. // Try removing the package language version or setting the language version to 2.10 or higher. // int? versionedUnallowedPackage; // error // ^ // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_8_AllowedPackage; // error // ^ @@ -22,7 +22,7 @@ // // @dart=2.8 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/versioned_2_9_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/versioned_2_9_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_9_AllowedPackage; // error // ^ @@ -58,7 +58,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_8_Library; // error // ^ @@ -75,7 +75,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/versioned_2_9_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/versioned_2_9_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_9_Library; // error // ^ diff --git a/pkg/front_end/testcases/nnbd_mixed/experiment_release_version/main.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd_mixed/experiment_release_version/main.dart.weak.modular.expect index fe41d8c1372..0b3e02e6fbd 100644 --- a/pkg/front_end/testcases/nnbd_mixed/experiment_release_version/main.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd_mixed/experiment_release_version/main.dart.weak.modular.expect @@ -1,7 +1,7 @@ // // Problems outside component: // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.9 or higher. // int? versioned_2_8_AllowedPackage; // error // ^ @@ -9,12 +9,12 @@ // // @dart=2.8 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/unversioned_lib.dart:5:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/unversioned_lib.dart:5:4: Error: Null safety is disabled for this library. // Try removing the package language version or setting the language version to 2.10 or higher. // int? versionedUnallowedPackage; // error // ^ // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_8_AllowedPackage; // error // ^ @@ -22,7 +22,7 @@ // // @dart=2.8 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/versioned_2_9_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/versioned_2_9_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_9_AllowedPackage; // error // ^ @@ -58,7 +58,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_8_Library; // error // ^ @@ -75,7 +75,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/versioned_2_9_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/versioned_2_9_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_9_Library; // error // ^ diff --git a/pkg/front_end/testcases/nnbd_mixed/experiment_release_version/main.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd_mixed/experiment_release_version/main.dart.weak.outline.expect index 5259891cbb0..92ac8645ab1 100644 --- a/pkg/front_end/testcases/nnbd_mixed/experiment_release_version/main.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd_mixed/experiment_release_version/main.dart.weak.outline.expect @@ -1,7 +1,7 @@ // // Problems outside component: // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.9 or higher. // int? versioned_2_8_AllowedPackage; // error // ^ @@ -9,12 +9,12 @@ // // @dart=2.8 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/unversioned_lib.dart:5:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/unversioned_lib.dart:5:4: Error: Null safety is disabled for this library. // Try removing the package language version or setting the language version to 2.10 or higher. // int? versionedUnallowedPackage; // error // ^ // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_8_AllowedPackage; // error // ^ @@ -22,7 +22,7 @@ // // @dart=2.8 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/versioned_2_9_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/not_allowed_package/lib/versioned_2_9_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_9_AllowedPackage; // error // ^ @@ -59,7 +59,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_8_Library; // error // ^ @@ -76,7 +76,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/versioned_2_9_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/versioned_2_9_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_9_Library; // error // ^ diff --git a/pkg/front_end/testcases/nnbd_mixed/experiment_release_version/main.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd_mixed/experiment_release_version/main.dart.weak.transformed.expect index f4682f0ce51..b0ae08bb2ce 100644 --- a/pkg/front_end/testcases/nnbd_mixed/experiment_release_version/main.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd_mixed/experiment_release_version/main.dart.weak.transformed.expect @@ -26,7 +26,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/versioned_2_8_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/versioned_2_8_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_8_Library; // error // ^ @@ -43,7 +43,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/versioned_2_9_lib.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/experiment_release_version/versioned_2_9_lib.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.10 or higher. // int? versioned_2_9_Library; // error // ^ diff --git a/pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart.weak.expect b/pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart.weak.expect index c254d3118e8..31e3d083ce1 100644 --- a/pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart.weak.expect @@ -11,7 +11,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart:21:52: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart:21:52: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // class LegacyClass4c implements GenericInterface {} // ^ diff --git a/pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart.weak.modular.expect index c254d3118e8..31e3d083ce1 100644 --- a/pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart.weak.modular.expect @@ -11,7 +11,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart:21:52: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart:21:52: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // class LegacyClass4c implements GenericInterface {} // ^ diff --git a/pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart.weak.outline.expect index 0d9ebe82616..f4f68656c9f 100644 --- a/pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart.weak.outline.expect @@ -11,7 +11,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart:21:52: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/inheritance_from_opt_in.dart:21:52: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // class LegacyClass4c implements GenericInterface {} // ^ diff --git a/pkg/front_end/testcases/nnbd_mixed/issue41597.dart.weak.expect b/pkg/front_end/testcases/nnbd_mixed/issue41597.dart.weak.expect index 017867489a3..15e5bf8ef67 100644 --- a/pkg/front_end/testcases/nnbd_mixed/issue41597.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd_mixed/issue41597.dart.weak.expect @@ -102,7 +102,7 @@ library; // c?..f!; // ^ // -// pkg/front_end/testcases/nnbd_mixed/issue41597_lib.dart:10:8: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/issue41597_lib.dart:10:8: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // c?..f!; // ^ diff --git a/pkg/front_end/testcases/nnbd_mixed/issue41597.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd_mixed/issue41597.dart.weak.modular.expect index 017867489a3..15e5bf8ef67 100644 --- a/pkg/front_end/testcases/nnbd_mixed/issue41597.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd_mixed/issue41597.dart.weak.modular.expect @@ -102,7 +102,7 @@ library; // c?..f!; // ^ // -// pkg/front_end/testcases/nnbd_mixed/issue41597_lib.dart:10:8: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/issue41597_lib.dart:10:8: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // c?..f!; // ^ diff --git a/pkg/front_end/testcases/nnbd_mixed/issue41597.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd_mixed/issue41597.dart.weak.transformed.expect index 017867489a3..15e5bf8ef67 100644 --- a/pkg/front_end/testcases/nnbd_mixed/issue41597.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd_mixed/issue41597.dart.weak.transformed.expect @@ -102,7 +102,7 @@ library; // c?..f!; // ^ // -// pkg/front_end/testcases/nnbd_mixed/issue41597_lib.dart:10:8: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/issue41597_lib.dart:10:8: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // c?..f!; // ^ diff --git a/pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart.weak.expect b/pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart.weak.expect index 86be53189c3..740e3f9cbae 100644 --- a/pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart.weak.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // int? i; // ^ diff --git a/pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart.weak.modular.expect index 86be53189c3..740e3f9cbae 100644 --- a/pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart.weak.modular.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // int? i; // ^ diff --git a/pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart.weak.outline.expect index 6d750cf617d..55e8f825652 100644 --- a/pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart.weak.outline.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // int? i; // ^ diff --git a/pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart.weak.transformed.expect index 86be53189c3..740e3f9cbae 100644 --- a/pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart.weak.transformed.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart:7:4: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/null_safety_invalid_language_version.dart:7:4: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // int? i; // ^ diff --git a/pkg/front_end/testcases/nnbd_mixed/opt_out.dart.weak.expect b/pkg/front_end/testcases/nnbd_mixed/opt_out.dart.weak.expect index 54314edbcba..7b36be46ad5 100644 --- a/pkg/front_end/testcases/nnbd_mixed/opt_out.dart.weak.expect +++ b/pkg/front_end/testcases/nnbd_mixed/opt_out.dart.weak.expect @@ -43,7 +43,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:18:25: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:18:25: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // class B extends A {} // ^ @@ -51,7 +51,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:20:28: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:20:28: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // typedef F = void Function()?; // ^ @@ -59,7 +59,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:22:12: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:22:12: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // List l = []; // ^ @@ -67,7 +67,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:23:7: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:23:7: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // String? s = null; // ^ @@ -75,7 +75,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:28:21: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:28:21: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // void method(void f()?, {int a}) {} // ^ @@ -83,7 +83,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:24:10: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:24:10: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // var t = s!; // ^ @@ -91,7 +91,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:32:14: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:32:14: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // List l = null; // ^ @@ -99,7 +99,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:33:9: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:33:9: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // String? s = null; // ^ @@ -107,7 +107,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:34:12: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:34:12: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // var t = s!; // ^ @@ -125,7 +125,7 @@ library; // c?..f; // ^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:37:5: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:37:5: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // c?[0]; // ^ diff --git a/pkg/front_end/testcases/nnbd_mixed/opt_out.dart.weak.modular.expect b/pkg/front_end/testcases/nnbd_mixed/opt_out.dart.weak.modular.expect index 54314edbcba..7b36be46ad5 100644 --- a/pkg/front_end/testcases/nnbd_mixed/opt_out.dart.weak.modular.expect +++ b/pkg/front_end/testcases/nnbd_mixed/opt_out.dart.weak.modular.expect @@ -43,7 +43,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:18:25: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:18:25: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // class B extends A {} // ^ @@ -51,7 +51,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:20:28: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:20:28: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // typedef F = void Function()?; // ^ @@ -59,7 +59,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:22:12: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:22:12: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // List l = []; // ^ @@ -67,7 +67,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:23:7: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:23:7: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // String? s = null; // ^ @@ -75,7 +75,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:28:21: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:28:21: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // void method(void f()?, {int a}) {} // ^ @@ -83,7 +83,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:24:10: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:24:10: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // var t = s!; // ^ @@ -91,7 +91,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:32:14: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:32:14: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // List l = null; // ^ @@ -99,7 +99,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:33:9: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:33:9: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // String? s = null; // ^ @@ -107,7 +107,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:34:12: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:34:12: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // var t = s!; // ^ @@ -125,7 +125,7 @@ library; // c?..f; // ^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:37:5: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:37:5: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // c?[0]; // ^ diff --git a/pkg/front_end/testcases/nnbd_mixed/opt_out.dart.weak.outline.expect b/pkg/front_end/testcases/nnbd_mixed/opt_out.dart.weak.outline.expect index d0348a20f8b..821f74d07ca 100644 --- a/pkg/front_end/testcases/nnbd_mixed/opt_out.dart.weak.outline.expect +++ b/pkg/front_end/testcases/nnbd_mixed/opt_out.dart.weak.outline.expect @@ -36,7 +36,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:18:25: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:18:25: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // class B extends A {} // ^ @@ -44,7 +44,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:20:28: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:20:28: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // typedef F = void Function()?; // ^ @@ -52,7 +52,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:22:12: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:22:12: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // List l = []; // ^ @@ -60,7 +60,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:23:7: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:23:7: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // String? s = null; // ^ @@ -68,7 +68,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:28:21: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:28:21: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // void method(void f()?, {int a}) {} // ^ @@ -76,7 +76,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:24:10: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:24:10: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // var t = s!; // ^ diff --git a/pkg/front_end/testcases/nnbd_mixed/opt_out.dart.weak.transformed.expect b/pkg/front_end/testcases/nnbd_mixed/opt_out.dart.weak.transformed.expect index 836b9e3b018..1b50ee41080 100644 --- a/pkg/front_end/testcases/nnbd_mixed/opt_out.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/nnbd_mixed/opt_out.dart.weak.transformed.expect @@ -43,7 +43,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:18:25: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:18:25: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // class B extends A {} // ^ @@ -51,7 +51,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:20:28: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:20:28: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // typedef F = void Function()?; // ^ @@ -59,7 +59,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:22:12: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:22:12: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // List l = []; // ^ @@ -67,7 +67,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:23:7: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:23:7: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // String? s = null; // ^ @@ -75,7 +75,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:28:21: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:28:21: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // void method(void f()?, {int a}) {} // ^ @@ -83,7 +83,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:24:10: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:24:10: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // var t = s!; // ^ @@ -91,7 +91,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:32:14: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:32:14: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // List l = null; // ^ @@ -99,7 +99,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:33:9: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:33:9: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // String? s = null; // ^ @@ -107,7 +107,7 @@ library; // // @dart=2.5 // ^^^^^^^^^^^^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:34:12: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:34:12: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // var t = s!; // ^ @@ -125,7 +125,7 @@ library; // c?..f; // ^ // -// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:37:5: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/nnbd_mixed/opt_out_lib.dart:37:5: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // c?[0]; // ^ diff --git a/pkg/front_end/testcases/none/tearoff_opt_out.dart.strong.expect b/pkg/front_end/testcases/none/tearoff_opt_out.dart.strong.expect index 0661b92a511..77180bac581 100644 --- a/pkg/front_end/testcases/none/tearoff_opt_out.dart.strong.expect +++ b/pkg/front_end/testcases/none/tearoff_opt_out.dart.strong.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/none/tearoff_opt_out.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/none/tearoff_opt_out.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.9 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/none/tearoff_opt_out.dart.strong.transformed.expect b/pkg/front_end/testcases/none/tearoff_opt_out.dart.strong.transformed.expect index 0661b92a511..77180bac581 100644 --- a/pkg/front_end/testcases/none/tearoff_opt_out.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/none/tearoff_opt_out.dart.strong.transformed.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/none/tearoff_opt_out.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/none/tearoff_opt_out.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.9 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/nonfunction_type_aliases/issue41501.dart.strong.expect b/pkg/front_end/testcases/nonfunction_type_aliases/issue41501.dart.strong.expect index 6fb74dd85dc..5f96bd99e9d 100644 --- a/pkg/front_end/testcases/nonfunction_type_aliases/issue41501.dart.strong.expect +++ b/pkg/front_end/testcases/nonfunction_type_aliases/issue41501.dart.strong.expect @@ -40,7 +40,7 @@ library opted_out_lib; // // Problems in library: // -// pkg/front_end/testcases/nonfunction_type_aliases/issue41501_lib.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/nonfunction_type_aliases/issue41501_lib.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.6 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/nonfunction_type_aliases/issue41501.dart.strong.transformed.expect b/pkg/front_end/testcases/nonfunction_type_aliases/issue41501.dart.strong.transformed.expect index 77e51247f48..51924e9a50d 100644 --- a/pkg/front_end/testcases/nonfunction_type_aliases/issue41501.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nonfunction_type_aliases/issue41501.dart.strong.transformed.expect @@ -40,7 +40,7 @@ library opted_out_lib; // // Problems in library: // -// pkg/front_end/testcases/nonfunction_type_aliases/issue41501_lib.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/nonfunction_type_aliases/issue41501_lib.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.6 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/nonfunction_type_aliases/issue_43084/issue_43084.dart.strong.expect b/pkg/front_end/testcases/nonfunction_type_aliases/issue_43084/issue_43084.dart.strong.expect index a8a2594009f..f7259406dcb 100644 --- a/pkg/front_end/testcases/nonfunction_type_aliases/issue_43084/issue_43084.dart.strong.expect +++ b/pkg/front_end/testcases/nonfunction_type_aliases/issue_43084/issue_43084.dart.strong.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nonfunction_type_aliases/issue_43084/issue_43084.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/nonfunction_type_aliases/issue_43084/issue_43084.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.9 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/nonfunction_type_aliases/issue_43084/issue_43084.dart.strong.transformed.expect b/pkg/front_end/testcases/nonfunction_type_aliases/issue_43084/issue_43084.dart.strong.transformed.expect index a8a2594009f..f7259406dcb 100644 --- a/pkg/front_end/testcases/nonfunction_type_aliases/issue_43084/issue_43084.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/nonfunction_type_aliases/issue_43084/issue_43084.dart.strong.transformed.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/nonfunction_type_aliases/issue_43084/issue_43084.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/nonfunction_type_aliases/issue_43084/issue_43084.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.9 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/records/record_literal_unsupported.dart.strong.expect b/pkg/front_end/testcases/records/record_literal_unsupported.dart.strong.expect index 4c3f1567f90..e2668eb4be4 100644 --- a/pkg/front_end/testcases/records/record_literal_unsupported.dart.strong.expect +++ b/pkg/front_end/testcases/records/record_literal_unsupported.dart.strong.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/records/record_literal_unsupported.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/records/record_literal_unsupported.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.9 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/records/record_literal_unsupported.dart.strong.transformed.expect b/pkg/front_end/testcases/records/record_literal_unsupported.dart.strong.transformed.expect index 4c3f1567f90..e2668eb4be4 100644 --- a/pkg/front_end/testcases/records/record_literal_unsupported.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/records/record_literal_unsupported.dart.strong.transformed.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/records/record_literal_unsupported.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/records/record_literal_unsupported.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.9 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/records/record_type_unsupported.dart.strong.expect b/pkg/front_end/testcases/records/record_type_unsupported.dart.strong.expect index b0b415250ae..8425a26718e 100644 --- a/pkg/front_end/testcases/records/record_type_unsupported.dart.strong.expect +++ b/pkg/front_end/testcases/records/record_type_unsupported.dart.strong.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/records/record_type_unsupported.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/records/record_type_unsupported.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.9 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/records/record_type_unsupported.dart.strong.transformed.expect b/pkg/front_end/testcases/records/record_type_unsupported.dart.strong.transformed.expect index b0b415250ae..8425a26718e 100644 --- a/pkg/front_end/testcases/records/record_type_unsupported.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/records/record_type_unsupported.dart.strong.transformed.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/records/record_type_unsupported.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/records/record_type_unsupported.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.9 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/regress/issue_31180.dart.weak.expect b/pkg/front_end/testcases/regress/issue_31180.dart.weak.expect index f3e0e585998..fcdc013b6b0 100644 --- a/pkg/front_end/testcases/regress/issue_31180.dart.weak.expect +++ b/pkg/front_end/testcases/regress/issue_31180.dart.weak.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/regress/issue_31180.dart:8:15: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/regress/issue_31180.dart:8:15: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // return null?[1]; // ^ diff --git a/pkg/front_end/testcases/regress/issue_31180.dart.weak.modular.expect b/pkg/front_end/testcases/regress/issue_31180.dart.weak.modular.expect index f3e0e585998..fcdc013b6b0 100644 --- a/pkg/front_end/testcases/regress/issue_31180.dart.weak.modular.expect +++ b/pkg/front_end/testcases/regress/issue_31180.dart.weak.modular.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/regress/issue_31180.dart:8:15: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/regress/issue_31180.dart:8:15: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // return null?[1]; // ^ diff --git a/pkg/front_end/testcases/regress/issue_31180.dart.weak.transformed.expect b/pkg/front_end/testcases/regress/issue_31180.dart.weak.transformed.expect index 7576e867e21..8250011835b 100644 --- a/pkg/front_end/testcases/regress/issue_31180.dart.weak.transformed.expect +++ b/pkg/front_end/testcases/regress/issue_31180.dart.weak.transformed.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/regress/issue_31180.dart:8:15: Error: Null safety features are disabled for this library. +// pkg/front_end/testcases/regress/issue_31180.dart:8:15: Error: Null safety is disabled for this library. // Try removing the `@dart=` annotation or setting the language version to 2.12 or higher. // return null?[1]; // ^ diff --git a/pkg/front_end/testcases/static_field_lowering/opt_out.dart.strong.expect b/pkg/front_end/testcases/static_field_lowering/opt_out.dart.strong.expect index 9d1cfeebba5..c9cb6860971 100644 --- a/pkg/front_end/testcases/static_field_lowering/opt_out.dart.strong.expect +++ b/pkg/front_end/testcases/static_field_lowering/opt_out.dart.strong.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/static_field_lowering/opt_out.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/static_field_lowering/opt_out.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.8 // ^^^^^^^^^^^^ // diff --git a/pkg/front_end/testcases/static_field_lowering/opt_out.dart.strong.transformed.expect b/pkg/front_end/testcases/static_field_lowering/opt_out.dart.strong.transformed.expect index 9d1cfeebba5..c9cb6860971 100644 --- a/pkg/front_end/testcases/static_field_lowering/opt_out.dart.strong.transformed.expect +++ b/pkg/front_end/testcases/static_field_lowering/opt_out.dart.strong.transformed.expect @@ -2,7 +2,7 @@ library; // // Problems in library: // -// pkg/front_end/testcases/static_field_lowering/opt_out.dart:5:1: Error: A library can't opt out of null safety by default, when using sound null safety. +// pkg/front_end/testcases/static_field_lowering/opt_out.dart:5:1: Error: Library doesn't support null safety. // // @dart=2.8 // ^^^^^^^^^^^^ // diff --git a/runtime/tests/vm/dart/regress_44026_test.dart b/runtime/tests/vm/dart/regress_44026_test.dart index 5d14bf9e9e6..9f6c2726529 100644 --- a/runtime/tests/vm/dart/regress_44026_test.dart +++ b/runtime/tests/vm/dart/regress_44026_test.dart @@ -37,8 +37,7 @@ main() async { print('stdout: ${result.stdout}'); print('stderr: ${result.stderr}'); Expect.equals(kCompilationErrorExitCode, result.exitCode); - Expect.stringContainsInOrder(result.stderr, [ - "Error: A library can't opt out of null safety by default, when using sound null safety." - ]); + Expect.stringContainsInOrder( + result.stderr, ["Error: Library doesn't support null safety."]); }); } diff --git a/tests/language/nnbd/experiment_release_version/opt_out_test.dart b/tests/language/nnbd/experiment_release_version/opt_out_test.dart index cd9fcde4e6e..3281e89f122 100644 --- a/tests/language/nnbd/experiment_release_version/opt_out_test.dart +++ b/tests/language/nnbd/experiment_release_version/opt_out_test.dart @@ -12,5 +12,5 @@ void main() { int? x; // ^ // [analyzer] SYNTACTIC_ERROR.EXPERIMENT_NOT_ENABLED - // [cfe] Null safety features are disabled for this library. + // [cfe] Null safety is disabled for this library. } diff --git a/tests/language_2/null_aware/null_aware_index_on_null_error_test.dart b/tests/language_2/null_aware/null_aware_index_on_null_error_test.dart index f6a8f2434a4..407d5dbff13 100644 --- a/tests/language_2/null_aware/null_aware_index_on_null_error_test.dart +++ b/tests/language_2/null_aware/null_aware_index_on_null_error_test.dart @@ -9,6 +9,6 @@ main() { // ^ // [analyzer] SYNTACTIC_ERROR.EXPERIMENT_NOT_ENABLED // ^ - // [cfe] Null safety features are disabled for this library. + // [cfe] Null safety is disabled for this library. // [cfe] The operator '[]' isn't defined for the class 'Null'. }