Index: pkg/analyzer/lib/error/error.dart |
diff --git a/pkg/analyzer/lib/error/error.dart b/pkg/analyzer/lib/error/error.dart |
index ce348514988aaaa781b3f522b07be824cf8d890e..0b6aa79dde6c429191de797132098a224792aa2d 100644 |
--- a/pkg/analyzer/lib/error/error.dart |
+++ b/pkg/analyzer/lib/error/error.dart |
@@ -113,6 +113,7 @@ const List<ErrorCode> errorCodeValues = const [ |
CompileTimeErrorCode.EXTENDS_ENUM, |
CompileTimeErrorCode.EXTENDS_NON_CLASS, |
CompileTimeErrorCode.EXTRA_POSITIONAL_ARGUMENTS, |
+ CompileTimeErrorCode.EXTRA_POSITIONAL_ARGUMENTS_COULD_BE_NAMED, |
CompileTimeErrorCode.FIELD_INITIALIZED_BY_MULTIPLE_INITIALIZERS, |
CompileTimeErrorCode.FIELD_INITIALIZED_IN_PARAMETER_AND_INITIALIZER, |
CompileTimeErrorCode.FIELD_INITIALIZER_FACTORY_CONSTRUCTOR, |
@@ -530,6 +531,7 @@ const List<ErrorCode> errorCodeValues = const [ |
StaticWarningCode.EQUAL_KEYS_IN_MAP, |
StaticWarningCode.EXPORT_DUPLICATED_LIBRARY_NAMED, |
StaticWarningCode.EXTRA_POSITIONAL_ARGUMENTS, |
+ StaticWarningCode.EXTRA_POSITIONAL_ARGUMENTS_COULD_BE_NAMED, |
StaticWarningCode.FIELD_INITIALIZED_IN_INITIALIZER_AND_DECLARATION, |
StaticWarningCode.FINAL_INITIALIZED_IN_DECLARATION_AND_CONSTRUCTOR, |
StaticWarningCode.FIELD_INITIALIZER_NOT_ASSIGNABLE, |