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

[wildcards] Consider quick fix: convert UNUSED_ELEMENT to wildcard #56581

Closed
Tracked by #55681
pq opened this issue Aug 27, 2024 · 1 comment
Closed
Tracked by #55681

[wildcards] Consider quick fix: convert UNUSED_ELEMENT to wildcard #56581

pq opened this issue Aug 27, 2024 · 1 comment
Assignees
Labels
analyzer-quick-fix area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. feature-wildcard-variables Implementation of the wildcard variables feature P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug

Comments

@pq
Copy link
Member

pq commented Aug 27, 2024

At some point I had confidence that we'd want such a conversion but I think I mistook an UNUSED_LOCAL_VARIABLE diagnostic for an UNUSED_ELEMENT.

@bwilkerson, @kallentu: can you think of any cases I'm missing? (Where we do want to convert an unused element to a wildcard?)

@pq pq changed the title Quick fix: convert UNUSED_ELEMENT to wildcard. [wildcards] Consider quick fix: convert UNUSED_ELEMENT to wildcard Aug 27, 2024
@pq pq self-assigned this Aug 27, 2024
@pq pq added analyzer-quick-fix type-enhancement A request for a change that isn't a bug feature-wildcard-variables Implementation of the wildcard variables feature P2 A bug or feature request we're likely to work on area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. labels Aug 27, 2024
@pq
Copy link
Member Author

pq commented Sep 12, 2024

Closing as WAI.

@pq pq closed this as completed Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-quick-fix area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. feature-wildcard-variables Implementation of the wildcard variables feature P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

1 participant