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

[Wildcard Variables] support for avoid_unused_constructor_parameters #57125

Closed
Tracked by #4969
pq opened this issue Jun 10, 2024 · 1 comment
Closed
Tracked by #4969

[Wildcard Variables] support for avoid_unused_constructor_parameters #57125

pq opened this issue Jun 10, 2024 · 1 comment
Assignees
Labels
analyzer-linter Issues with the analyzer's support for the linter package area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. linter-false-positive linter-new-language-feature P2 A bug or feature request we're likely to work on

Comments

@pq
Copy link
Member

pq commented Jun 10, 2024

No description provided.

@pq pq self-assigned this Jun 10, 2024
@pq pq added linter-new-language-feature P2 A bug or feature request we're likely to work on linter-false-positive labels Jun 10, 2024
copybara-service bot referenced this issue Jun 10, 2024
Test to ensure that `avoid_unused_constructor_parameters` doesn't overreport in the presence of an unused wildcard param.

(Note that underscores are ignored pre-wildcards too and this ensures that that behavior is preserved too.)

Fixes: https://github.com/dart-lang/linter/issues/4995

Change-Id: I13ef73eb28cf2501ed292dd3c56c9933a8feefa9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/370540
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Auto-Submit: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
@pq
Copy link
Member Author

pq commented Jun 14, 2024

Fixed w/ 224d19e

@pq pq closed this as completed Jun 14, 2024
@devoncarew devoncarew transferred this issue from dart-lang/linter Nov 18, 2024
@devoncarew devoncarew added analyzer-linter Issues with the analyzer's support for the linter package area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-linter Issues with the analyzer's support for the linter package area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. linter-false-positive linter-new-language-feature P2 A bug or feature request we're likely to work on
Projects
None yet
Development

No branches or pull requests

2 participants