Skip to content

[Wildcard Variables] support for avoid_unused_constructor_parameters #57125

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

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

[Wildcard Variables] support for avoid_unused_constructor_parameters #57125

pq opened this issue Jun 10, 2024 · 1 comment
Assignees
Labels
devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead. 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 <[email protected]>
Auto-Submit: Phil Quitslund <[email protected]>
Reviewed-by: Brian Wilkerson <[email protected]>
@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-archive/linter Nov 18, 2024
@devoncarew devoncarew added devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead. labels Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead. 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