| 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 8573a689bf4511fd3ba5a0d9669aa4f3f1b0b230..ddc52feb1be506ead69ba6087526e5a50df58499 100644
|
| --- a/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
|
| +++ b/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
|
| @@ -256,6 +256,26 @@ const MessageCode messageCatchSyntax = const MessageCode("CatchSyntax",
|
| tip:
|
| r"""No types are needed, the first is given by 'on', the second is always 'StackTrace'.""");
|
|
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Template<Message Function(String name)> templateClassNotFound =
|
| + const Template<Message Function(String name)>(
|
| + messageTemplate: r"""Couldn't find a class named '#name'.""",
|
| + withArguments: _withArgumentsClassNotFound);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Code<Message Function(String name)> codeClassNotFound =
|
| + const Code<Message Function(String name)>(
|
| + "ClassNotFound",
|
| + templateClassNotFound,
|
| +);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +Message _withArgumentsClassNotFound(String name) {
|
| + return new Message(codeClassNotFound,
|
| + message: """Couldn't find a class named '$name'.""",
|
| + arguments: {'name': name});
|
| +}
|
| +
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Template<Message Function(String name)> templateConflictsWithConstructor =
|
| const Template<Message Function(String name)>(
|
| @@ -404,7 +424,7 @@ const MessageCode messageConstFieldWithoutInitializer = const MessageCode(
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Template<Message Function(String name)> templateConstructorNotFound =
|
| const Template<Message Function(String name)>(
|
| - messageTemplate: r"""Couldn't find constructor '#name'.""",
|
| + messageTemplate: r"""Couldn't find a constructor named '#name'.""",
|
| withArguments: _withArgumentsConstructorNotFound);
|
|
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| @@ -417,7 +437,7 @@ const Code<Message Function(String name)> codeConstructorNotFound =
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| Message _withArgumentsConstructorNotFound(String name) {
|
| return new Message(codeConstructorNotFound,
|
| - message: """Couldn't find constructor '$name'.""",
|
| + message: """Couldn't find a constructor named '$name'.""",
|
| arguments: {'name': name});
|
| }
|
|
|
| @@ -2023,6 +2043,25 @@ 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 Template<Message Function(String name)> templateNotAConstructor =
|
| + const Template<Message Function(String name)>(
|
| + messageTemplate: r"""'#name' isn't a constructor.""",
|
| + withArguments: _withArgumentsNotAConstructor);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +const Code<Message Function(String name)> codeNotAConstructor =
|
| + const Code<Message Function(String name)>(
|
| + "NotAConstructor",
|
| + templateNotAConstructor,
|
| +);
|
| +
|
| +// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| +Message _withArgumentsNotAConstructor(String name) {
|
| + return new Message(codeNotAConstructor,
|
| + message: """'$name' isn't a constructor.""", arguments: {'name': name});
|
| +}
|
| +
|
| // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
|
| const Template<Message Function(String name)> templateNotAType =
|
| const Template<Message Function(String name)>(
|
|
|