You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
missing-override-decorator false positive when assigning to inherited property #3385
If a child class assigns to a property (with a setter) defined in a base class, missing-override-decorator incorrectly flags it, as if the assignment was an implicit override.
ERROR sandbox.py:17:14-18: Class member `Sub1.prop` overrides a member in a parent class but is missing an `@override` decorator [[missing-override-decorator](https://pyrefly.org/en/docs/error-kinds/#missing-override-decorator)]
ERROR sandbox.py:22:14-18: Class member `Sub2.prop` overrides a member in a parent class but is missing an `@override` decorator [[missing-override-decorator](https://pyrefly.org/en/docs/error-kinds/#missing-override-decorator)]
Expected: no error when assigning to base class property; treat instance-level property access like an attribute, not method.
changed the title [-]`missing-override-decorator` false positive when using property setters of base class[/-][+]`missing-override-decorator` false positive when assigning to inherited property[/+]on May 14, 2026
Activity
[-]`missing-override-decorator` false positive when using property setters of base class[/-][+]`missing-override-decorator` false positive when assigning to inherited property[/+]fix false positive missing-override-decorator when assigning to inher…