Skip to content
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

[Extension Types] analyzer should produce UNUSED_ELEMENT diagnostics for unused extension type decls #53520

Closed
pq opened this issue Sep 13, 2023 · 0 comments
Assignees
Labels
analyzer-warning Issues with the analyzer's Warning codes area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P1 A high priority bug; for example, a single project is unusable or has many test failures P2 A bug or feature request we're likely to work on

Comments

@pq
Copy link
Member

pq commented Sep 13, 2023

For example,

extension type _E(int i) {}

should be flagged. (But currently is not.)

@pq pq added P1 A high priority bug; for example, a single project is unusable or has many test failures area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. analyzer-warning Issues with the analyzer's Warning codes P2 A bug or feature request we're likely to work on labels Sep 13, 2023
@pq pq self-assigned this Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-warning Issues with the analyzer's Warning codes area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P1 A high priority bug; for example, a single project is unusable or has many test failures P2 A bug or feature request we're likely to work on
Projects
None yet
Development

No branches or pull requests

1 participant