@@ -1021,6 +1021,53 @@ const MessageCode messageFinalFieldWithoutInitializer = const MessageCode(
1021
1021
message: r"""A 'final' field must be initialized.""" ,
1022
1022
tip: r"""Try adding '= <initializer>'.""" );
1023
1023
1024
+ // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1025
+ const Template <Message Function (String name)>
1026
+ templateFinalInstanceVariableAlreadyInitialized =
1027
+ const Template <Message Function (String name)>(
1028
+ messageTemplate:
1029
+ r"""'#name' is a final instance variable that has already been initialized.""" ,
1030
+ withArguments: _withArgumentsFinalInstanceVariableAlreadyInitialized);
1031
+
1032
+ // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1033
+ const Code <Message Function (String name)>
1034
+ codeFinalInstanceVariableAlreadyInitialized =
1035
+ const Code <Message Function (String name)>(
1036
+ "FinalInstanceVariableAlreadyInitialized" ,
1037
+ templateFinalInstanceVariableAlreadyInitialized,
1038
+ );
1039
+
1040
+ // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1041
+ Message _withArgumentsFinalInstanceVariableAlreadyInitialized (String name) {
1042
+ return new Message (codeFinalInstanceVariableAlreadyInitialized,
1043
+ message:
1044
+ """'$name ' is a final instance variable that has already been initialized.""" ,
1045
+ arguments: {'name' : name});
1046
+ }
1047
+
1048
+ // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1049
+ const Template <Message Function (String name)>
1050
+ templateFinalInstanceVariableAlreadyInitializedCause =
1051
+ const Template <Message Function (String name)>(
1052
+ messageTemplate: r"""'#name' was initialized here.""" ,
1053
+ withArguments:
1054
+ _withArgumentsFinalInstanceVariableAlreadyInitializedCause);
1055
+
1056
+ // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1057
+ const Code <Message Function (String name)>
1058
+ codeFinalInstanceVariableAlreadyInitializedCause =
1059
+ const Code <Message Function (String name)>(
1060
+ "FinalInstanceVariableAlreadyInitializedCause" ,
1061
+ templateFinalInstanceVariableAlreadyInitializedCause,
1062
+ );
1063
+
1064
+ // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1065
+ Message _withArgumentsFinalInstanceVariableAlreadyInitializedCause (
1066
+ String name) {
1067
+ return new Message (codeFinalInstanceVariableAlreadyInitializedCause,
1068
+ message: """'$name ' was initialized here.""" , arguments: {'name' : name});
1069
+ }
1070
+
1024
1071
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
1025
1072
const Code <Null > codeFunctionTypeDefaultValue = messageFunctionTypeDefaultValue;
1026
1073
@@ -2297,6 +2344,14 @@ Message _withArgumentsSupertypeIsTypeVariable(String name) {
2297
2344
arguments: {'name' : name});
2298
2345
}
2299
2346
2347
+ // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2348
+ const Code <Null > codeSwitchCaseFallThrough = messageSwitchCaseFallThrough;
2349
+
2350
+ // DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2351
+ const MessageCode messageSwitchCaseFallThrough = const MessageCode (
2352
+ "SwitchCaseFallThrough" ,
2353
+ message: r"""Switch case may fall through to the next case.""" );
2354
+
2300
2355
// DO NOT EDIT. THIS FILE IS GENERATED. SEE TOP OF FILE.
2301
2356
const Template <Message Function (String name)>
2302
2357
templateThisAccessInFieldInitializer =
0 commit comments