@@ -43,23 +43,23 @@ const List<ErrorCode> errorCodeValues = [
43
43
// error code in on the line following the pattern we're grepping for. Those
44
44
// need to be filled in by hand.
45
45
//
46
- AnalysisOptionsErrorCode .PARSE_ERROR ,
47
46
AnalysisOptionsErrorCode .INCLUDED_FILE_PARSE_ERROR ,
47
+ AnalysisOptionsErrorCode .PARSE_ERROR ,
48
+ AnalysisOptionsHintCode .DEPRECATED_ANALYSIS_OPTIONS_FILE_NAME ,
49
+ AnalysisOptionsHintCode .PREVIEW_DART_2_SETTING_DEPRECATED ,
50
+ AnalysisOptionsHintCode .STRONG_MODE_SETTING_DEPRECATED ,
51
+ AnalysisOptionsHintCode .SUPER_MIXINS_SETTING_DEPRECATED ,
48
52
AnalysisOptionsWarningCode .ANALYSIS_OPTION_DEPRECATED ,
49
53
AnalysisOptionsWarningCode .INCLUDE_FILE_NOT_FOUND ,
50
54
AnalysisOptionsWarningCode .INCLUDED_FILE_WARNING ,
51
55
AnalysisOptionsWarningCode .INVALID_OPTION ,
52
56
AnalysisOptionsWarningCode .INVALID_SECTION_FORMAT ,
57
+ AnalysisOptionsWarningCode .SPEC_MODE_REMOVED ,
53
58
AnalysisOptionsWarningCode .UNRECOGNIZED_ERROR_CODE ,
54
59
AnalysisOptionsWarningCode .UNSUPPORTED_OPTION_WITH_LEGAL_VALUE ,
55
60
AnalysisOptionsWarningCode .UNSUPPORTED_OPTION_WITH_LEGAL_VALUES ,
56
61
AnalysisOptionsWarningCode .UNSUPPORTED_OPTION_WITHOUT_VALUES ,
57
62
AnalysisOptionsWarningCode .UNSUPPORTED_VALUE ,
58
- AnalysisOptionsWarningCode .SPEC_MODE_REMOVED ,
59
- AnalysisOptionsHintCode .DEPRECATED_ANALYSIS_OPTIONS_FILE_NAME ,
60
- AnalysisOptionsHintCode .PREVIEW_DART_2_SETTING_DEPRECATED ,
61
- AnalysisOptionsHintCode .STRONG_MODE_SETTING_DEPRECATED ,
62
- AnalysisOptionsHintCode .SUPER_MIXINS_SETTING_DEPRECATED ,
63
63
CheckedModeCompileTimeErrorCode .CONST_CONSTRUCTOR_FIELD_TYPE_MISMATCH ,
64
64
CheckedModeCompileTimeErrorCode .CONST_CONSTRUCTOR_PARAM_TYPE_MISMATCH ,
65
65
CheckedModeCompileTimeErrorCode .CONST_FIELD_INITIALIZER_NOT_ASSIGNABLE ,
@@ -82,9 +82,9 @@ const List<ErrorCode> errorCodeValues = [
82
82
CompileTimeErrorCode .BUILT_IN_IDENTIFIER_AS_EXTENSION_NAME ,
83
83
CompileTimeErrorCode .BUILT_IN_IDENTIFIER_AS_PREFIX_NAME ,
84
84
CompileTimeErrorCode .BUILT_IN_IDENTIFIER_AS_TYPE ,
85
- CompileTimeErrorCode .BUILT_IN_IDENTIFIER_AS_TYPEDEF_NAME ,
86
85
CompileTimeErrorCode .BUILT_IN_IDENTIFIER_AS_TYPE_NAME ,
87
86
CompileTimeErrorCode .BUILT_IN_IDENTIFIER_AS_TYPE_PARAMETER_NAME ,
87
+ CompileTimeErrorCode .BUILT_IN_IDENTIFIER_AS_TYPEDEF_NAME ,
88
88
CompileTimeErrorCode .CASE_EXPRESSION_TYPE_IMPLEMENTS_EQUALS ,
89
89
CompileTimeErrorCode .CASE_EXPRESSION_TYPE_IS_NOT_SWITCH_EXPRESSION_SUBTYPE ,
90
90
CompileTimeErrorCode .CONFLICTING_CONSTRUCTOR_AND_STATIC_FIELD ,
@@ -137,8 +137,8 @@ const List<ErrorCode> errorCodeValues = [
137
137
CompileTimeErrorCode .DUPLICATE_DEFINITION ,
138
138
CompileTimeErrorCode .DUPLICATE_NAMED_ARGUMENT ,
139
139
CompileTimeErrorCode .DUPLICATE_PART ,
140
- CompileTimeErrorCode .EQUAL_KEYS_IN_CONST_MAP ,
141
140
CompileTimeErrorCode .EQUAL_ELEMENTS_IN_CONST_SET ,
141
+ CompileTimeErrorCode .EQUAL_KEYS_IN_CONST_MAP ,
142
142
CompileTimeErrorCode .EXPORT_INTERNAL_LIBRARY ,
143
143
CompileTimeErrorCode .EXPORT_LEGACY_SYMBOL ,
144
144
CompileTimeErrorCode .EXPORT_OF_NON_LIBRARY ,
@@ -183,18 +183,18 @@ const List<ErrorCode> errorCodeValues = [
183
183
CompileTimeErrorCode .INSTANCE_MEMBER_ACCESS_FROM_FACTORY ,
184
184
CompileTimeErrorCode .INSTANCE_MEMBER_ACCESS_FROM_STATIC ,
185
185
CompileTimeErrorCode .INSTANTIATE_ENUM ,
186
- CompileTimeErrorCode .INTEGER_LITERAL_OUT_OF_RANGE ,
187
186
CompileTimeErrorCode .INTEGER_LITERAL_IMPRECISE_AS_DOUBLE ,
187
+ CompileTimeErrorCode .INTEGER_LITERAL_OUT_OF_RANGE ,
188
188
CompileTimeErrorCode .INVALID_ANNOTATION ,
189
189
CompileTimeErrorCode .INVALID_ANNOTATION_FROM_DEFERRED_LIBRARY ,
190
190
CompileTimeErrorCode .INVALID_ANNOTATION_GETTER ,
191
191
CompileTimeErrorCode .INVALID_CONSTANT ,
192
192
CompileTimeErrorCode .INVALID_CONSTRUCTOR_NAME ,
193
193
CompileTimeErrorCode .INVALID_EXTENSION_ARGUMENT_COUNT ,
194
194
CompileTimeErrorCode .INVALID_FACTORY_NAME_NOT_A_CLASS ,
195
+ CompileTimeErrorCode .INVALID_INLINE_FUNCTION_TYPE ,
195
196
CompileTimeErrorCode .INVALID_MODIFIER_ON_CONSTRUCTOR ,
196
197
CompileTimeErrorCode .INVALID_MODIFIER_ON_SETTER ,
197
- CompileTimeErrorCode .INVALID_INLINE_FUNCTION_TYPE ,
198
198
CompileTimeErrorCode .INVALID_OVERRIDE ,
199
199
CompileTimeErrorCode .INVALID_REFERENCE_TO_THIS ,
200
200
CompileTimeErrorCode .INVALID_TYPE_ARGUMENT_IN_CONST_LIST ,
@@ -218,8 +218,8 @@ const List<ErrorCode> errorCodeValues = [
218
218
CompileTimeErrorCode .MISSING_DEFAULT_VALUE_FOR_PARAMETER ,
219
219
CompileTimeErrorCode .MISSING_REQUIRED_ARGUMENT ,
220
220
CompileTimeErrorCode .MIXIN_APPLICATION_CONCRETE_SUPER_INVOKED_MEMBER_TYPE ,
221
- CompileTimeErrorCode .MIXIN_APPLICATION_NOT_IMPLEMENTED_INTERFACE ,
222
221
CompileTimeErrorCode .MIXIN_APPLICATION_NO_CONCRETE_SUPER_INVOKED_MEMBER ,
222
+ CompileTimeErrorCode .MIXIN_APPLICATION_NOT_IMPLEMENTED_INTERFACE ,
223
223
CompileTimeErrorCode .MIXIN_CLASS_DECLARES_CONSTRUCTOR ,
224
224
CompileTimeErrorCode .MIXIN_DECLARES_CONSTRUCTOR ,
225
225
CompileTimeErrorCode .MIXIN_DEFERRED_CLASS ,
@@ -237,22 +237,25 @@ const List<ErrorCode> errorCodeValues = [
237
237
CompileTimeErrorCode .MIXIN_WITH_NON_CLASS_SUPERCLASS ,
238
238
CompileTimeErrorCode .MULTIPLE_REDIRECTING_CONSTRUCTOR_INVOCATIONS ,
239
239
CompileTimeErrorCode .MULTIPLE_SUPER_INITIALIZERS ,
240
+ CompileTimeErrorCode .NO_ANNOTATION_CONSTRUCTOR_ARGUMENTS ,
241
+ CompileTimeErrorCode .NO_DEFAULT_SUPER_CONSTRUCTOR_EXPLICIT ,
242
+ CompileTimeErrorCode .NO_DEFAULT_SUPER_CONSTRUCTOR_IMPLICIT ,
243
+ CompileTimeErrorCode .NON_CONST_MAP_AS_EXPRESSION_STATEMENT ,
240
244
CompileTimeErrorCode .NON_CONSTANT_ANNOTATION_CONSTRUCTOR ,
241
245
CompileTimeErrorCode .NON_CONSTANT_CASE_EXPRESSION ,
242
246
CompileTimeErrorCode .NON_CONSTANT_CASE_EXPRESSION_FROM_DEFERRED_LIBRARY ,
243
247
CompileTimeErrorCode .NON_CONSTANT_DEFAULT_VALUE ,
244
248
CompileTimeErrorCode .NON_CONSTANT_DEFAULT_VALUE_FROM_DEFERRED_LIBRARY ,
245
249
CompileTimeErrorCode .NON_CONSTANT_LIST_ELEMENT ,
246
250
CompileTimeErrorCode .NON_CONSTANT_LIST_ELEMENT_FROM_DEFERRED_LIBRARY ,
251
+ CompileTimeErrorCode .NON_CONSTANT_MAP_ELEMENT ,
247
252
CompileTimeErrorCode .NON_CONSTANT_MAP_KEY ,
248
253
CompileTimeErrorCode .NON_CONSTANT_MAP_KEY_FROM_DEFERRED_LIBRARY ,
249
254
CompileTimeErrorCode .NON_CONSTANT_MAP_VALUE ,
250
- CompileTimeErrorCode .NON_CONSTANT_MAP_ELEMENT ,
251
255
CompileTimeErrorCode .NON_CONSTANT_MAP_VALUE_FROM_DEFERRED_LIBRARY ,
252
256
CompileTimeErrorCode .NON_CONSTANT_SET_ELEMENT ,
253
257
// ignore: deprecated_member_use_from_same_package
254
258
CompileTimeErrorCode .NON_CONSTANT_VALUE_IN_INITIALIZER ,
255
- CompileTimeErrorCode .NON_CONST_MAP_AS_EXPRESSION_STATEMENT ,
256
259
CompileTimeErrorCode .NON_GENERATIVE_CONSTRUCTOR ,
257
260
CompileTimeErrorCode .NON_SYNC_FACTORY ,
258
261
CompileTimeErrorCode .NOT_ASSIGNED_POTENTIALLY_NON_NULLABLE_LOCAL_VARIABLE ,
@@ -265,9 +268,6 @@ const List<ErrorCode> errorCodeValues = [
265
268
CompileTimeErrorCode .NOT_ITERABLE_SPREAD ,
266
269
CompileTimeErrorCode .NOT_MAP_SPREAD ,
267
270
CompileTimeErrorCode .NOT_NULL_AWARE_NULL_SPREAD ,
268
- CompileTimeErrorCode .NO_ANNOTATION_CONSTRUCTOR_ARGUMENTS ,
269
- CompileTimeErrorCode .NO_DEFAULT_SUPER_CONSTRUCTOR_EXPLICIT ,
270
- CompileTimeErrorCode .NO_DEFAULT_SUPER_CONSTRUCTOR_IMPLICIT ,
271
271
CompileTimeErrorCode .NULLABLE_TYPE_IN_CATCH_CLAUSE ,
272
272
CompileTimeErrorCode .NULLABLE_TYPE_IN_EXTENDS_CLAUSE ,
273
273
CompileTimeErrorCode .NULLABLE_TYPE_IN_IMPLEMENTS_CLAUSE ,
@@ -302,10 +302,10 @@ const List<ErrorCode> errorCodeValues = [
302
302
CompileTimeErrorCode .SET_ELEMENT_FROM_DEFERRED_LIBRARY ,
303
303
CompileTimeErrorCode .SHARED_DEFERRED_PREFIX ,
304
304
CompileTimeErrorCode .SPREAD_EXPRESSION_FROM_DEFERRED_LIBRARY ,
305
- CompileTimeErrorCode .SUPER_INITIALIZER_IN_OBJECT ,
306
305
CompileTimeErrorCode .SUPER_IN_EXTENSION ,
307
306
CompileTimeErrorCode .SUPER_IN_INVALID_CONTEXT ,
308
307
CompileTimeErrorCode .SUPER_IN_REDIRECTING_CONSTRUCTOR ,
308
+ CompileTimeErrorCode .SUPER_INITIALIZER_IN_OBJECT ,
309
309
CompileTimeErrorCode .SWITCH_CASE_COMPLETES_NORMALLY ,
310
310
CompileTimeErrorCode .TYPE_ALIAS_CANNOT_REFERENCE_ITSELF ,
311
311
CompileTimeErrorCode .TYPE_ARGUMENT_NOT_MATCHING_BOUNDS ,
@@ -324,12 +324,12 @@ const List<ErrorCode> errorCodeValues = [
324
324
CompileTimeErrorCode .URI_DOES_NOT_EXIST ,
325
325
CompileTimeErrorCode .URI_HAS_NOT_BEEN_GENERATED ,
326
326
CompileTimeErrorCode .URI_WITH_INTERPOLATION ,
327
+ CompileTimeErrorCode .WRONG_EXPLICIT_TYPE_PARAMETER_VARIANCE_IN_SUPERINTERFACE ,
327
328
CompileTimeErrorCode .WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR ,
328
329
CompileTimeErrorCode .WRONG_NUMBER_OF_PARAMETERS_FOR_OPERATOR_MINUS ,
329
330
CompileTimeErrorCode .WRONG_NUMBER_OF_PARAMETERS_FOR_SETTER ,
330
331
CompileTimeErrorCode .WRONG_TYPE_PARAMETER_VARIANCE_IN_SUPERINTERFACE ,
331
332
CompileTimeErrorCode .WRONG_TYPE_PARAMETER_VARIANCE_POSITION ,
332
- CompileTimeErrorCode .WRONG_EXPLICIT_TYPE_PARAMETER_VARIANCE_IN_SUPERINTERFACE ,
333
333
CompileTimeErrorCode .YIELD_EACH_IN_NON_GENERATOR ,
334
334
CompileTimeErrorCode .YIELD_IN_NON_GENERATOR ,
335
335
FfiCode .ANNOTATION_ON_POINTER_FIELD ,
@@ -365,8 +365,8 @@ const List<ErrorCode> errorCodeValues = [
365
365
HintCode .DEPRECATED_MEMBER_USE_WITH_MESSAGE ,
366
366
HintCode .DEPRECATED_MIXIN_FUNCTION ,
367
367
HintCode .DIVISION_OPTIMIZATION ,
368
- HintCode .DUPLICATE_IMPORT ,
369
368
HintCode .DUPLICATE_HIDDEN_NAME ,
369
+ HintCode .DUPLICATE_IMPORT ,
370
370
HintCode .DUPLICATE_SHOWN_NAME ,
371
371
HintCode .EQUAL_ELEMENTS_IN_SET ,
372
372
HintCode .EQUAL_KEYS_IN_MAP ,
@@ -426,8 +426,8 @@ const List<ErrorCode> errorCodeValues = [
426
426
HintCode .OVERRIDE_ON_NON_OVERRIDING_SETTER ,
427
427
HintCode .PACKAGE_IMPORT_CONTAINS_DOT_DOT ,
428
428
HintCode .RECEIVER_OF_TYPE_NEVER ,
429
- HintCode .SDK_VERSION_ASYNC_EXPORTED_FROM_CORE ,
430
429
HintCode .SDK_VERSION_AS_EXPRESSION_IN_CONST_CONTEXT ,
430
+ HintCode .SDK_VERSION_ASYNC_EXPORTED_FROM_CORE ,
431
431
HintCode .SDK_VERSION_BOOL_OPERATOR_IN_CONST_CONTEXT ,
432
432
HintCode .SDK_VERSION_EQ_EQ_OPERATOR_IN_CONST_CONTEXT ,
433
433
HintCode .SDK_VERSION_EXTENSION_METHODS ,
@@ -458,8 +458,8 @@ const List<ErrorCode> errorCodeValues = [
458
458
HintCode .UNUSED_LOCAL_VARIABLE ,
459
459
HintCode .UNUSED_SHOWN_NAME ,
460
460
ManifestWarningCode .CAMERA_PERMISSIONS_INCOMPATIBLE ,
461
- ManifestWarningCode .NON_RESIZABLE_ACTIVITY ,
462
461
ManifestWarningCode .NO_TOUCHSCREEN_FEATURE ,
462
+ ManifestWarningCode .NON_RESIZABLE_ACTIVITY ,
463
463
ManifestWarningCode .PERMISSION_IMPLIES_UNSUPPORTED_HARDWARE ,
464
464
ManifestWarningCode .SETTING_ORIENTATION_ON_ACTIVITY ,
465
465
ManifestWarningCode .UNSUPPORTED_CHROME_OS_FEATURE ,
@@ -478,7 +478,6 @@ const List<ErrorCode> errorCodeValues = [
478
478
ParserErrorCode .CLASS_IN_CLASS ,
479
479
ParserErrorCode .COLON_IN_PLACE_OF_IN ,
480
480
ParserErrorCode .CONFLICTING_MODIFIERS ,
481
- ParserErrorCode .CONSTRUCTOR_WITH_RETURN_TYPE ,
482
481
ParserErrorCode .CONST_AFTER_FACTORY ,
483
482
ParserErrorCode .CONST_AND_COVARIANT ,
484
483
ParserErrorCode .CONST_AND_FINAL ,
@@ -489,6 +488,7 @@ const List<ErrorCode> errorCodeValues = [
489
488
ParserErrorCode .CONST_FACTORY ,
490
489
ParserErrorCode .CONST_METHOD ,
491
490
ParserErrorCode .CONST_TYPEDEF ,
491
+ ParserErrorCode .CONSTRUCTOR_WITH_RETURN_TYPE ,
492
492
ParserErrorCode .CONTINUE_OUTSIDE_OF_LOOP ,
493
493
ParserErrorCode .CONTINUE_WITHOUT_LABEL_IN_CASE ,
494
494
ParserErrorCode .COVARIANT_AFTER_FINAL ,
@@ -497,13 +497,13 @@ const List<ErrorCode> errorCodeValues = [
497
497
ParserErrorCode .COVARIANT_CONSTRUCTOR ,
498
498
ParserErrorCode .COVARIANT_MEMBER ,
499
499
ParserErrorCode .COVARIANT_TOP_LEVEL_DECLARATION ,
500
- ParserErrorCode .DEFERRED_AFTER_PREFIX ,
501
500
ParserErrorCode .DEFAULT_VALUE_IN_FUNCTION_TYPE ,
501
+ ParserErrorCode .DEFERRED_AFTER_PREFIX ,
502
502
ParserErrorCode .DIRECTIVE_AFTER_DECLARATION ,
503
503
ParserErrorCode .DUPLICATE_DEFERRED ,
504
- ParserErrorCode .DUPLICATED_MODIFIER ,
505
504
ParserErrorCode .DUPLICATE_LABEL_IN_SWITCH_STATEMENT ,
506
505
ParserErrorCode .DUPLICATE_PREFIX ,
506
+ ParserErrorCode .DUPLICATED_MODIFIER ,
507
507
ParserErrorCode .EMPTY_ENUM_BODY ,
508
508
ParserErrorCode .ENUM_IN_CLASS ,
509
509
ParserErrorCode .EQUALITY_CANNOT_BE_EQUALITY_OPERAND ,
@@ -538,10 +538,10 @@ const List<ErrorCode> errorCodeValues = [
538
538
ParserErrorCode .EXTERNAL_TYPEDEF ,
539
539
ParserErrorCode .EXTRANEOUS_MODIFIER ,
540
540
ParserErrorCode .FACTORY_TOP_LEVEL_DECLARATION ,
541
- ParserErrorCode .FACTORY_WITHOUT_BODY ,
542
541
ParserErrorCode .FACTORY_WITH_INITIALIZERS ,
543
- ParserErrorCode .FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR ,
542
+ ParserErrorCode .FACTORY_WITHOUT_BODY ,
544
543
ParserErrorCode .FIELD_INITIALIZED_OUTSIDE_DECLARING_CLASS ,
544
+ ParserErrorCode .FIELD_INITIALIZER_OUTSIDE_CONSTRUCTOR ,
545
545
ParserErrorCode .FINAL_AND_COVARIANT ,
546
546
ParserErrorCode .FINAL_AND_COVARIANT_LATE_WITH_INITIALIZER ,
547
547
ParserErrorCode .FINAL_AND_VAR ,
@@ -571,7 +571,9 @@ const List<ErrorCode> errorCodeValues = [
571
571
ParserErrorCode .INVALID_OPERATOR_FOR_SUPER ,
572
572
ParserErrorCode .INVALID_OPERATOR_QUESTIONMARK_PERIOD_FOR_SUPER ,
573
573
ParserErrorCode .INVALID_STAR_AFTER_ASYNC ,
574
+ ParserErrorCode .INVALID_SUPER_IN_INITIALIZER ,
574
575
ParserErrorCode .INVALID_SYNC ,
576
+ ParserErrorCode .INVALID_THIS_IN_INITIALIZER ,
575
577
ParserErrorCode .INVALID_UNICODE_ESCAPE ,
576
578
ParserErrorCode .INVALID_USE_OF_COVARIANT_IN_EXTENSION ,
577
579
ParserErrorCode .LIBRARY_DIRECTIVE_NOT_FIRST ,
@@ -606,10 +608,10 @@ const List<ErrorCode> errorCodeValues = [
606
608
ParserErrorCode .MIXIN_DECLARES_CONSTRUCTOR ,
607
609
ParserErrorCode .MODIFIER_OUT_OF_ORDER ,
608
610
ParserErrorCode .MULTIPLE_EXTENDS_CLAUSES ,
609
- ParserErrorCode .MULTIPLE_ON_CLAUSES ,
610
611
ParserErrorCode .MULTIPLE_IMPLEMENTS_CLAUSES ,
611
612
ParserErrorCode .MULTIPLE_LIBRARY_DIRECTIVES ,
612
613
ParserErrorCode .MULTIPLE_NAMED_PARAMETER_GROUPS ,
614
+ ParserErrorCode .MULTIPLE_ON_CLAUSES ,
613
615
ParserErrorCode .MULTIPLE_PART_OF_DIRECTIVES ,
614
616
ParserErrorCode .MULTIPLE_POSITIONAL_PARAMETER_GROUPS ,
615
617
ParserErrorCode .MULTIPLE_VARIABLES_IN_FOR_EACH ,
@@ -643,16 +645,14 @@ const List<ErrorCode> errorCodeValues = [
643
645
ParserErrorCode .STATIC_OPERATOR ,
644
646
ParserErrorCode .STATIC_SETTER_WITHOUT_BODY ,
645
647
ParserErrorCode .STATIC_TOP_LEVEL_DECLARATION ,
646
- ParserErrorCode .INVALID_SUPER_IN_INITIALIZER ,
647
648
ParserErrorCode .SWITCH_HAS_CASE_AFTER_DEFAULT_CASE ,
648
649
ParserErrorCode .SWITCH_HAS_MULTIPLE_DEFAULT_CASES ,
649
- ParserErrorCode .INVALID_THIS_IN_INITIALIZER ,
650
650
ParserErrorCode .TOP_LEVEL_OPERATOR ,
651
- ParserErrorCode .TYPEDEF_IN_CLASS ,
652
651
ParserErrorCode .TYPE_ARGUMENTS_ON_TYPE_VARIABLE ,
653
652
ParserErrorCode .TYPE_BEFORE_FACTORY ,
654
653
ParserErrorCode .TYPE_PARAMETER_ON_CONSTRUCTOR ,
655
654
ParserErrorCode .TYPE_PARAMETER_ON_OPERATOR ,
655
+ ParserErrorCode .TYPEDEF_IN_CLASS ,
656
656
ParserErrorCode .UNEXPECTED_TERMINATOR_FOR_PARAMETER_GROUP ,
657
657
ParserErrorCode .UNEXPECTED_TOKEN ,
658
658
ParserErrorCode .VAR_AND_TYPE ,
@@ -736,9 +736,9 @@ const List<ErrorCode> errorCodeValues = [
736
736
// ignore: deprecated_member_use_from_same_package
737
737
StaticWarningCode .EXTRA_POSITIONAL_ARGUMENTS_COULD_BE_NAMED ,
738
738
StaticWarningCode .FIELD_INITIALIZED_IN_INITIALIZER_AND_DECLARATION ,
739
- StaticWarningCode .FINAL_INITIALIZED_IN_DECLARATION_AND_CONSTRUCTOR ,
740
739
StaticWarningCode .FIELD_INITIALIZER_NOT_ASSIGNABLE ,
741
740
StaticWarningCode .FIELD_INITIALIZING_FORMAL_NOT_ASSIGNABLE ,
741
+ StaticWarningCode .FINAL_INITIALIZED_IN_DECLARATION_AND_CONSTRUCTOR ,
742
742
StaticWarningCode .FINAL_NOT_INITIALIZED ,
743
743
StaticWarningCode .FINAL_NOT_INITIALIZED_CONSTRUCTOR_1 ,
744
744
StaticWarningCode .FINAL_NOT_INITIALIZED_CONSTRUCTOR_2 ,
@@ -812,14 +812,14 @@ const List<ErrorCode> errorCodeValues = [
812
812
StrongModeCode .IMPLICIT_DYNAMIC_RETURN ,
813
813
StrongModeCode .IMPLICIT_DYNAMIC_TYPE ,
814
814
StrongModeCode .IMPLICIT_DYNAMIC_VARIABLE ,
815
+ StrongModeCode .INVALID_CAST_FUNCTION ,
816
+ StrongModeCode .INVALID_CAST_FUNCTION_EXPR ,
815
817
StrongModeCode .INVALID_CAST_LITERAL ,
816
818
StrongModeCode .INVALID_CAST_LITERAL_LIST ,
817
819
StrongModeCode .INVALID_CAST_LITERAL_MAP ,
818
820
StrongModeCode .INVALID_CAST_LITERAL_SET ,
819
- StrongModeCode .INVALID_CAST_FUNCTION_EXPR ,
820
- StrongModeCode .INVALID_CAST_NEW_EXPR ,
821
821
StrongModeCode .INVALID_CAST_METHOD ,
822
- StrongModeCode .INVALID_CAST_FUNCTION ,
822
+ StrongModeCode .INVALID_CAST_NEW_EXPR ,
823
823
StrongModeCode .INVALID_PARAMETER_DECLARATION ,
824
824
StrongModeCode .INVALID_SUPER_INVOCATION ,
825
825
StrongModeCode .NOT_INSTANTIATED_BOUND ,
0 commit comments