| Index: pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
|
| diff --git a/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart b/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
|
| index 5d96d535bc8349cf51efdce20ab8f9c4d62051de..691a2da7d5070a2783bcf29fd879cf501b2b3269 100644
|
| --- a/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
|
| +++ b/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
|
| @@ -112,6 +112,26 @@ const MessageCode messageAwaitAsIdentifier = const MessageCode(
|
| message:
|
| r"""'await' can't be used as an identifier in 'async', 'async*', or 'sync*' methods.""");
|
|
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Template<Message Function(String string)> templateMissingSdkSummary =
|
| + const Template<Message Function(String string)>(
|
| + messageTemplate: r"""SDK summary not found: #string.""",
|
| + withArguments: _withArgumentsMissingSdkSummary);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Code<Message Function(String string)> codeMissingSdkSummary =
|
| + const Code<Message Function(String string)>(
|
| + "MissingSdkSummary",
|
| + templateMissingSdkSummary,
|
| +);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +Message _withArgumentsMissingSdkSummary(String string) {
|
| + return new Message(codeMissingSdkSummary,
|
| + message: """SDK summary not found: $string.""",
|
| + arguments: {'string': string});
|
| +}
|
| +
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Code<Null> codeFactoryNotSync = messageFactoryNotSync;
|
|
|
| @@ -509,6 +529,29 @@ Message _withArgumentsExpectedString(Token token) {
|
| arguments: {'token': token});
|
| }
|
|
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Template<
|
| + Message Function(String string)> templateVerificationError = const Template<
|
| + Message Function(String string)>(
|
| + messageTemplate:
|
| + r"""An internal error was found while verifying the output of the compiler. #string""",
|
| + withArguments: _withArgumentsVerificationError);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Code<Message Function(String string)> codeVerificationError =
|
| + const Code<Message Function(String string)>(
|
| + "VerificationError",
|
| + templateVerificationError,
|
| +);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +Message _withArgumentsVerificationError(String string) {
|
| + return new Message(codeVerificationError,
|
| + message:
|
| + """An internal error was found while verifying the output of the compiler. $string""",
|
| + arguments: {'string': string});
|
| +}
|
| +
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Code<Null> codeFastaUsageShort = messageFastaUsageShort;
|
|
|
| @@ -835,6 +878,26 @@ const MessageCode messageInvalidAwaitFor = const MessageCode("InvalidAwaitFor",
|
| tip:
|
| r"""Try adding 'async' or 'async*' to the method body or removing the 'await' keyword.""");
|
|
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Template<Message Function(String string)> templateMissingInputFile =
|
| + const Template<Message Function(String string)>(
|
| + messageTemplate: r"""Input file not found: #string.""",
|
| + withArguments: _withArgumentsMissingInputFile);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Code<Message Function(String string)> codeMissingInputFile =
|
| + const Code<Message Function(String string)>(
|
| + "MissingInputFile",
|
| + templateMissingInputFile,
|
| +);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +Message _withArgumentsMissingInputFile(String string) {
|
| + return new Message(codeMissingInputFile,
|
| + message: """Input file not found: $string.""",
|
| + arguments: {'string': string});
|
| +}
|
| +
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Template<Message Function(Token token)> templateExpectedType =
|
| const Template<Message Function(Token token)>(
|
| @@ -980,6 +1043,15 @@ const MessageCode messageFastaUsageLong =
|
| internal stack trace from the compiler. Multiple kinds can be separated by
|
| commas, for example, --fatal=errors,warnings.""");
|
|
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Code<Null> codeMissingMain = messageMissingMain;
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const MessageCode messageMissingMain = const MessageCode("MissingMain",
|
| + dart2jsCode: "MISSING_MAIN",
|
| + message: r"""No 'main' method found.""",
|
| + tip: r"""Try adding a method named 'main' to your program.""");
|
| +
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Code<Null> codeAwaitForNotAsync = messageAwaitForNotAsync;
|
|
|
| @@ -1075,6 +1147,26 @@ const MessageCode messageTypeRequired = const MessageCode("TypeRequired",
|
| message: r"""A type or modifier is required here.""",
|
| tip: r"""Try adding a type, 'var', 'const', or 'final'.""");
|
|
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Template<Message Function(String string)> templateMissingSdkRoot =
|
| + const Template<Message Function(String string)>(
|
| + messageTemplate: r"""SDK root directory not found: #string.""",
|
| + withArguments: _withArgumentsMissingSdkRoot);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Code<Message Function(String string)> codeMissingSdkRoot =
|
| + const Code<Message Function(String string)>(
|
| + "MissingSdkRoot",
|
| + templateMissingSdkRoot,
|
| +);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +Message _withArgumentsMissingSdkRoot(String string) {
|
| + return new Message(codeMissingSdkRoot,
|
| + message: """SDK root directory not found: $string.""",
|
| + arguments: {'string': string});
|
| +}
|
| +
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Code<Null> codeInvalidVoid = messageInvalidVoid;
|
|
|
|
|