proposal: annotate_redeclares
#59297
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
linter-lint-proposal
linter-new-language-feature
linter-set-recommended
annotate_redeclares
Description
Annotate redeclared members.
Details
DO annotate redeclared members.
This practice improves code readability and helps protect against unintentionally redeclaring members or being surprised when a member ceases to redeclare (due for example to a rename refactoring).
Kind
Style and errors.
Bad Examples
Good Examples
Discussion
This is essentially an analog to
annotate_overrides
.Discussion checklist
The text was updated successfully, but these errors were encountered: