| 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 f559aad7d4d86b6435fcdb5105953ce2976fa6b0..5485082527e766436123a5779a6c9954861ee830 100644
|
| --- a/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
|
| +++ b/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
|
| @@ -47,6 +47,15 @@ const MessageCode messageNonInstanceTypeVariableUse = const MessageCode(
|
| "NonInstanceTypeVariableUse",
|
| message: r"""Can only use type variables in instance methods.""");
|
|
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Code<Null> codeInternalProblemPreviousTokenNotFound =
|
| + messageInternalProblemPreviousTokenNotFound;
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const MessageCode messageInternalProblemPreviousTokenNotFound =
|
| + const MessageCode("InternalProblemPreviousTokenNotFound",
|
| + message: r"""Couldn't find previous token.""");
|
| +
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Code<Null> codeStackOverflow = messageStackOverflow;
|
|
|
| @@ -142,6 +151,31 @@ Message _withArgumentsUnexpected(String string, String string2) {
|
| arguments: {'string': string, 'string2': string2});
|
| }
|
|
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Template<Message Function(String name, Uri uri_)>
|
| + templateInternalProblemConstructorNotFound =
|
| + const Template<Message Function(String name, Uri uri_)>(
|
| + messageTemplate:
|
| + r"""Internal error: No constructor named '#name' in '#uri'.""",
|
| + withArguments: _withArgumentsInternalProblemConstructorNotFound);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Code<Message Function(String name, Uri uri_)>
|
| + codeInternalProblemConstructorNotFound =
|
| + const Code<Message Function(String name, Uri uri_)>(
|
| + "InternalProblemConstructorNotFound",
|
| + templateInternalProblemConstructorNotFound,
|
| +);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +Message _withArgumentsInternalProblemConstructorNotFound(
|
| + String name, Uri uri_) {
|
| + String uri = relativizeUri(uri_);
|
| + return new Message(codeInternalProblemConstructorNotFound,
|
| + message: """Internal error: No constructor named '$name' in '$uri'.""",
|
| + arguments: {'name': name, 'uri': uri_});
|
| +}
|
| +
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Code<Null> codeSuperNullAware = messageSuperNullAware;
|
|
|
| @@ -354,6 +388,29 @@ const MessageCode messageEmptyOptionalParameterList = const MessageCode(
|
| message: r"""Optional parameter lists cannot be empty.""",
|
| tip: r"""Try adding an optional parameter to the list.""");
|
|
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Template<Message Function(String name, String name2)>
|
| + templateInternalProblemNotFoundIn =
|
| + const Template<Message Function(String name, String name2)>(
|
| + messageTemplate:
|
| + r"""Internal error: Couldn't find '#name' in '#name2'.""",
|
| + withArguments: _withArgumentsInternalProblemNotFoundIn);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Code<Message Function(String name, String name2)>
|
| + codeInternalProblemNotFoundIn =
|
| + const Code<Message Function(String name, String name2)>(
|
| + "InternalProblemNotFoundIn",
|
| + templateInternalProblemNotFoundIn,
|
| +);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +Message _withArgumentsInternalProblemNotFoundIn(String name, String name2) {
|
| + return new Message(codeInternalProblemNotFoundIn,
|
| + message: """Internal error: Couldn't find '$name' in '$name2'.""",
|
| + arguments: {'name': name, 'name2': name2});
|
| +}
|
| +
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Template<Message Function(String name)> templateTypeNotFound =
|
| const Template<Message Function(String name)>(
|
| @@ -373,6 +430,28 @@ Message _withArgumentsTypeNotFound(String name) {
|
| message: """Type '$name' not found.""", arguments: {'name': name});
|
| }
|
|
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Template<Message Function(String name)>
|
| + templateInternalProblemSuperclassNotFound =
|
| + const Template<Message Function(String name)>(
|
| + messageTemplate: r"""Internal error: Superclass not found '#name'.""",
|
| + withArguments: _withArgumentsInternalProblemSuperclassNotFound);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Code<Message Function(String name)>
|
| + codeInternalProblemSuperclassNotFound =
|
| + const Code<Message Function(String name)>(
|
| + "InternalProblemSuperclassNotFound",
|
| + templateInternalProblemSuperclassNotFound,
|
| +);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +Message _withArgumentsInternalProblemSuperclassNotFound(String name) {
|
| + return new Message(codeInternalProblemSuperclassNotFound,
|
| + message: """Internal error: Superclass not found '$name'.""",
|
| + arguments: {'name': name});
|
| +}
|
| +
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Template<Message Function(String string)> templateUnterminatedString =
|
| const Template<Message Function(String string)>(
|
| @@ -442,6 +521,16 @@ Message _withArgumentsUnhandled(String string, String string2) {
|
| arguments: {'string': string, 'string2': string2});
|
| }
|
|
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Code<Null> codeInternalProblemBodyOnAbstractMethod =
|
| + messageInternalProblemBodyOnAbstractMethod;
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const MessageCode messageInternalProblemBodyOnAbstractMethod =
|
| + const MessageCode("InternalProblemBodyOnAbstractMethod",
|
| + message:
|
| + r"""Internal error: Attempting to set body on abstract method.""");
|
| +
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Template<Message Function(Token token)> templateExpectedFunctionBody =
|
| const Template<Message Function(Token token)>(
|
| @@ -561,6 +650,28 @@ const MessageCode messageAbstractNotSync = const MessageCode("AbstractNotSync",
|
| dart2jsCode: "*ignored*",
|
| message: r"""Abstract methods can't use 'async', 'async*', or 'sync*'.""");
|
|
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Template<Message Function(String name, String string)>
|
| + templateInternalProblemStackNotEmpty =
|
| + const Template<Message Function(String name, String string)>(
|
| + messageTemplate: r"""Internal error: #name.stack isn't empty:
|
| + #string""", withArguments: _withArgumentsInternalProblemStackNotEmpty);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Code<Message Function(String name, String string)>
|
| + codeInternalProblemStackNotEmpty =
|
| + const Code<Message Function(String name, String string)>(
|
| + "InternalProblemStackNotEmpty",
|
| + templateInternalProblemStackNotEmpty,
|
| +);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +Message _withArgumentsInternalProblemStackNotEmpty(String name, String string) {
|
| + return new Message(codeInternalProblemStackNotEmpty,
|
| + message: """Internal error: $name.stack isn't empty:
|
| + $string""", arguments: {'name': name, 'string': string});
|
| +}
|
| +
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Template<Message Function(String name)> templateGetterNotFound =
|
| const Template<Message Function(String name)>(
|
| @@ -580,6 +691,29 @@ Message _withArgumentsGetterNotFound(String name) {
|
| message: """Getter not found: '$name'.""", arguments: {'name': name});
|
| }
|
|
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Template<Message Function(String name)>
|
| + templateInternalProblemPrivateConstructorAccess =
|
| + const Template<Message Function(String name)>(
|
| + messageTemplate:
|
| + r"""Internal error: Can't access private constructor '#name'.""",
|
| + withArguments: _withArgumentsInternalProblemPrivateConstructorAccess);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Code<Message Function(String name)>
|
| + codeInternalProblemPrivateConstructorAccess =
|
| + const Code<Message Function(String name)>(
|
| + "InternalProblemPrivateConstructorAccess",
|
| + templateInternalProblemPrivateConstructorAccess,
|
| +);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +Message _withArgumentsInternalProblemPrivateConstructorAccess(String name) {
|
| + return new Message(codeInternalProblemPrivateConstructorAccess,
|
| + message: """Internal error: Can't access private constructor '$name'.""",
|
| + arguments: {'name': name});
|
| +}
|
| +
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Code<Null> codeListLiteralTooManyTypeArguments =
|
| messageListLiteralTooManyTypeArguments;
|
| @@ -675,6 +809,26 @@ Message _withArgumentsUnmatchedToken(String string, Token token) {
|
| arguments: {'string': string, 'token': token});
|
| }
|
|
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Template<Message Function(String name)> templateInternalProblemNotFound =
|
| + const Template<Message Function(String name)>(
|
| + messageTemplate: r"""Internal error: Couldn't find '#name'.""",
|
| + withArguments: _withArgumentsInternalProblemNotFound);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Code<Message Function(String name)> codeInternalProblemNotFound =
|
| + const Code<Message Function(String name)>(
|
| + "InternalProblemNotFound",
|
| + templateInternalProblemNotFound,
|
| +);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +Message _withArgumentsInternalProblemNotFound(String name) {
|
| + return new Message(codeInternalProblemNotFound,
|
| + message: """Internal error: Couldn't find '$name'.""",
|
| + arguments: {'name': name});
|
| +}
|
| +
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Code<Null> codeInvalidSyncModifier = messageInvalidSyncModifier;
|
|
|
| @@ -1078,6 +1232,16 @@ 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 Code<Null> codeInternalProblemAlreadyInitialized =
|
| + messageInternalProblemAlreadyInitialized;
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const MessageCode messageInternalProblemAlreadyInitialized = const MessageCode(
|
| + "InternalProblemAlreadyInitialized",
|
| + message:
|
| + r"""Internal error: Attempt to set initializer on field without initializer.""");
|
| +
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Code<Null> codeInvalidVoid = messageInvalidVoid;
|
|
|
| @@ -1166,6 +1330,15 @@ Message _withArgumentsUnsupported(String name) {
|
| arguments: {'name': name});
|
| }
|
|
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Code<Null> codeInternalProblemExtendingUnmodifiableScope =
|
| + messageInternalProblemExtendingUnmodifiableScope;
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const MessageCode messageInternalProblemExtendingUnmodifiableScope =
|
| + const MessageCode("InternalProblemExtendingUnmodifiableScope",
|
| + message: r"""Can't extend an unmodifiable scope.""");
|
| +
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Template<Message Function(Token token)>
|
| templateBuiltInIdentifierInDeclaration =
|
|
|