Index: pkg/analyzer/lib/src/generated/error.dart |
diff --git a/pkg/analyzer/lib/src/generated/error.dart b/pkg/analyzer/lib/src/generated/error.dart |
index c13d6208740a103a6a5337487d2f924f4dc721ee..728435f22fb9414f9d53e8fb0c920bf8fff5b4e6 100644 |
--- a/pkg/analyzer/lib/src/generated/error.dart |
+++ b/pkg/analyzer/lib/src/generated/error.dart |
@@ -2698,6 +2698,7 @@ abstract class ErrorCode { |
HintCode.MISSING_RETURN, |
HintCode.NULL_AWARE_IN_CONDITION, |
HintCode.OVERRIDE_ON_NON_OVERRIDING_GETTER, |
+ HintCode.OVERRIDE_ON_NON_OVERRIDING_FIELD, |
HintCode.OVERRIDE_ON_NON_OVERRIDING_METHOD, |
HintCode.OVERRIDE_ON_NON_OVERRIDING_SETTER, |
HintCode.OVERRIDE_EQUALS_BUT_NOT_HASH_CODE, |
@@ -3731,6 +3732,13 @@ class HintCode extends ErrorCode { |
"Getter does not override an inherited getter"); |
/** |
+ * A field with the override annotation does not override a getter or setter. |
+ */ |
+ static const HintCode OVERRIDE_ON_NON_OVERRIDING_FIELD = const HintCode( |
+ 'OVERRIDE_ON_NON_OVERRIDING_FIELD', |
+ "Field does not override an inherited getter or setter"); |
+ |
+ /** |
* A method with the override annotation does not override an existing method. |
*/ |
static const HintCode OVERRIDE_ON_NON_OVERRIDING_METHOD = const HintCode( |