Skip to content

Commit

Permalink
Version 3.5.0-162.0.dev
Browse files Browse the repository at this point in the history
Merge 762ca98 into dev
  • Loading branch information
Dart CI committed May 16, 2024
2 parents b64b487 + 762ca98 commit d174ead
Show file tree
Hide file tree
Showing 17 changed files with 647 additions and 785 deletions.
161 changes: 0 additions & 161 deletions pkg/_fe_analyzer_shared/lib/src/messages/codes_generated.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5089,16 +5089,6 @@ const MessageCode messageExportAfterPart = const MessageCode(
r"""Try moving the export directives before the part directives.""",
);

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Code<Null> codeExportOptOutFromOptIn = messageExportOptOutFromOptIn;

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const MessageCode messageExportOptOutFromOptIn = const MessageCode(
"ExportOptOutFromOptIn",
problemMessage:
r"""Null safe libraries are not allowed to export declarations from of opt-out libraries.""",
);

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Code<Null> codeExportedMain = messageExportedMain;

Expand Down Expand Up @@ -13743,110 +13733,6 @@ const MessageCode messageNullAwareCascadeOutOfOrder = const MessageCode(
r"""Try moving the '?..' operator to be the first cascade operator in the sequence.""",
);

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Template<Message Function(String string2)>
templateNullSafetyDisabledInvalidLanguageVersion =
const Template<Message Function(String string2)>(
"NullSafetyDisabledInvalidLanguageVersion",
problemMessageTemplate:
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.
const Code<Message Function(String string2)>
codeNullSafetyDisabledInvalidLanguageVersion =
const Code<Message Function(String string2)>(
"NullSafetyDisabledInvalidLanguageVersion",
analyzerCodes: <String>["ParserErrorCode.EXPERIMENT_NOT_ENABLED"],
);

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
Message _withArgumentsNullSafetyDisabledInvalidLanguageVersion(String string2) {
if (string2.isEmpty) throw 'No string provided';
return new Message(
codeNullSafetyDisabledInvalidLanguageVersion,
problemMessage:
"""This requires null safety, which requires language version of ${string2} or higher.""",
arguments: {
'string2': string2,
},
);
}

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Code<Null> codeNullSafetyOptOutComment = messageNullSafetyOptOutComment;

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const MessageCode messageNullSafetyOptOutComment = const MessageCode(
"NullSafetyOptOutComment",
severity: Severity.context,
problemMessage:
r"""This is the annotation that opts out this library from null safety features.""",
);

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Template<Message Function(String string)>
templateNullSafetyOptOutExplicit =
const Template<Message Function(String string)>(
"NullSafetyOptOutExplicit",
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,
);

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Code<Message Function(String string)> codeNullSafetyOptOutExplicit =
const Code<Message Function(String string)>(
"NullSafetyOptOutExplicit",
);

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
Message _withArgumentsNullSafetyOptOutExplicit(String string) {
if (string.isEmpty) throw 'No string provided';
return new Message(
codeNullSafetyOptOutExplicit,
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,
},
);
}

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Template<Message Function(String string)>
templateNullSafetyOptOutImplicit =
const Template<Message Function(String string)>(
"NullSafetyOptOutImplicit",
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,
);

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Code<Message Function(String string)> codeNullSafetyOptOutImplicit =
const Code<Message Function(String string)>(
"NullSafetyOptOutImplicit",
);

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
Message _withArgumentsNullSafetyOptOutImplicit(String string) {
if (string.isEmpty) throw 'No string provided';
return new Message(
codeNullSafetyOptOutImplicit,
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,
},
);
}

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Template<Message Function(String name)> templateNullableInterfaceError =
const Template<Message Function(String name)>(
Expand Down Expand Up @@ -15802,53 +15688,6 @@ const MessageCode messageStaticTearOffFromInstantiatedClass = const MessageCode(
r"""Try removing the type arguments or placing them after the member name.""",
);

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Code<Null> codeStrongModeNNBDButOptOut = messageStrongModeNNBDButOptOut;

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const MessageCode messageStrongModeNNBDButOptOut = const MessageCode(
"StrongModeNNBDButOptOut",
problemMessage: r"""Library doesn't support null safety.""",
);

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Template<Message Function(List<String> _names)>
templateStrongModeNNBDPackageOptOut =
const Template<Message Function(List<String> _names)>(
"StrongModeNNBDPackageOptOut",
problemMessageTemplate:
r"""The following dependencies don't support null safety:

#names

For solutions, see https://dart.dev/go/unsound-null-safety""",
withArguments: _withArgumentsStrongModeNNBDPackageOptOut,
);

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Code<Message Function(List<String> _names)>
codeStrongModeNNBDPackageOptOut =
const Code<Message Function(List<String> _names)>(
"StrongModeNNBDPackageOptOut",
);

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
Message _withArgumentsStrongModeNNBDPackageOptOut(List<String> _names) {
if (_names.isEmpty) throw 'No names provided';
String names = itemizeNames(_names);
return new Message(
codeStrongModeNNBDPackageOptOut,
problemMessage: """The following dependencies don't support null safety:

${names}

For solutions, see https://dart.dev/go/unsound-null-safety""",
arguments: {
'names': _names,
},
);
}

// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Code<Null> codeStrongWithWeakDillLibrary =
messageStrongWithWeakDillLibrary;
Expand Down
Loading

0 comments on commit d174ead

Please sign in to comment.