Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: pkg/front_end/lib/src/fasta/fasta_codes_generated.dart

Issue 2996063002: Implement type arguments in redirecting factories.
Patch Set: Address Johnni's comments. Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 f50d239a89a531b24ffb1ca43098d6e9b628c60c..a14f0c0068c4ad92ee66a07bce5b111a41aa775c 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});
}
@@ -2044,6 +2064,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)>(

Powered by Google App Engine
This is Rietveld 408576698