-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proposal: annotate_redeclares
#4747
Labels
lint-proposal
new-language-feature
set-recommended
Affects a rule in the recommended Dart rule set
status-accepted
Comments
github-actions
bot
added
the
set-recommended
Affects a rule in the recommended Dart rule set
label
Sep 11, 2023
@srawlins @bwilkerson @stereotype441: it feels like we have a bit of a consensus on the value of this one. If that's right I'll bump this to accepted and implement. |
I support! |
/fyi @dart-lang/dart-team |
Bumping to accepted. |
This comment was marked as off-topic.
This comment was marked as off-topic.
copybara-service bot
pushed a commit
to dart-lang/sdk
that referenced
this issue
Sep 18, 2023
Fixes: dart-lang/linter#4747 Change-Id: I7bf3e83dbe279f5b1a03dc5e5806c7c0fe3e3486 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/326263 Reviewed-by: Brian Wilkerson <[email protected]> Commit-Queue: Phil Quitslund <[email protected]>
Implemented w/ dart-lang/sdk@d1b6ea9. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
lint-proposal
new-language-feature
set-recommended
Affects a rule in the recommended Dart rule set
status-accepted
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: