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

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

Issue 2977903002: Remove deprecated_warningNotError. (Closed)
Patch Set: Created 3 years, 5 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 38ebebf9f2ecee119ea4ca0732a0773f330f9975..c291493bb293c95685194202d0aac16024a6a6d0 100644
--- a/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
+++ b/pkg/front_end/lib/src/fasta/fasta_codes_generated.dart
@@ -1021,6 +1021,53 @@ const MessageCode messageFinalFieldWithoutInitializer = const MessageCode(
message: r"""A 'final' field must be initialized.""",
tip: r"""Try adding '= <initializer>'.""");
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Template<Message Function(String name)>
+ templateFinalInstanceVariableAlreadyInitialized =
+ const Template<Message Function(String name)>(
+ messageTemplate:
+ r"""'#name' is final instance variable that has already been initialized.""",
+ withArguments: _withArgumentsFinalInstanceVariableAlreadyInitialized);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Code<Message Function(String name)>
+ codeFinalInstanceVariableAlreadyInitialized =
+ const Code<Message Function(String name)>(
+ "FinalInstanceVariableAlreadyInitialized",
+ templateFinalInstanceVariableAlreadyInitialized,
+);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+Message _withArgumentsFinalInstanceVariableAlreadyInitialized(String name) {
+ return new Message(codeFinalInstanceVariableAlreadyInitialized,
+ message:
+ """'$name' is final instance variable that has already been initialized.""",
+ arguments: {'name': name});
+}
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Template<Message Function(String name)>
+ templateFinalInstanceVariableAlreadyInitializedCause =
+ const Template<Message Function(String name)>(
+ messageTemplate: r"""'#name' was initialized here.""",
+ withArguments:
+ _withArgumentsFinalInstanceVariableAlreadyInitializedCause);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Code<Message Function(String name)>
+ codeFinalInstanceVariableAlreadyInitializedCause =
+ const Code<Message Function(String name)>(
+ "FinalInstanceVariableAlreadyInitializedCause",
+ templateFinalInstanceVariableAlreadyInitializedCause,
+);
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+Message _withArgumentsFinalInstanceVariableAlreadyInitializedCause(
+ String name) {
+ return new Message(codeFinalInstanceVariableAlreadyInitializedCause,
+ message: """'$name' was initialized here.""", arguments: {'name': name});
+}
+
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Code<Null> codeFunctionTypeDefaultValue = messageFunctionTypeDefaultValue;
@@ -2297,6 +2344,14 @@ Message _withArgumentsSupertypeIsTypeVariable(String name) {
arguments: {'name': name});
}
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const Code<Null> codeSwitchCaseFallThrough = messageSwitchCaseFallThrough;
+
+// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
+const MessageCode messageSwitchCaseFallThrough = const MessageCode(
+ "SwitchCaseFallThrough",
+ message: r"""Switch case may fall through to next case.""");
+
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
const Template<Message Function(String name)>
templateThisAccessInFieldInitializer =

Powered by Google App Engine
This is Rietveld 408576698