proposal: Check static members and enum members in unreachable_from_main
#58812
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
linter-lint-proposal
linter-status-pending
P3
A lower priority bug or feature request
unreachable_from_main
Description
The description does not need to change.
Details
As implemented now (in dart-archive/linter#3513),
unreachable_from_main
only checks top-level members. It would be great to extend this to a few more things before removing theexperimental
bit.It would be great to report unreachable instance members of elements which participate in inheritance, but there is a lot more nuance involved, and risk for bugs. I don't feel strongly about it.
Kind
Unchanged
Good Examples
Bad Examples
Discussion
Discussion checklist
The text was updated successfully, but these errors were encountered: