Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Track static elements in unreachable_from_main #3660

Merged
merged 5 commits into from
Feb 2, 2023
Merged

Conversation

srawlins
Copy link
Contributor

@srawlins srawlins commented Sep 6, 2022

Description

This adds tracking and reporting for static elements from unreachable_from_main. This lint rule now reports unreachable public static fields, getters, setters, and methods, which are declared on public classes, mixins, enums, and extensions.

Work towards dart-lang/sdk#58812

@coveralls
Copy link

coveralls commented Sep 6, 2022

Coverage Status

Coverage: 95.689% (+0.03%) from 95.66% when pulling 8deb352 on unreachable-static into 6f08bd7 on main.

@srawlins
Copy link
Contributor Author

srawlins commented Oct 6, 2022

This is ready for review

@srawlins
Copy link
Contributor Author

This is still ready for review.

@srawlins
Copy link
Contributor Author

srawlins commented Feb 2, 2023

@pq @bwilkerson if you ever have a moment, this is still ready for review.

@srawlins srawlins merged commit 4d5a6a6 into main Feb 2, 2023
@srawlins srawlins deleted the unreachable-static branch February 2, 2023 23:34
@srawlins
Copy link
Contributor Author

srawlins commented Feb 2, 2023

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants