Skip to content

prefer_final_in_for_each support for patterns #59117

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
pq opened this issue Apr 20, 2023 · 0 comments · Fixed by dart-archive/linter#4385
Closed

prefer_final_in_for_each support for patterns #59117

pq opened this issue Apr 20, 2023 · 0 comments · Fixed by dart-archive/linter#4385
Labels
devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead. linter-false-negative linter-new-language-feature P2 A bug or feature request we're likely to work on

Comments

@pq
Copy link
Member

pq commented Apr 20, 2023

This should trigger, but doesn't:

f() {
  for (var (i, j) in [(1, 2)]) { }
} 
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-negative linter-new-language-feature P2 A bug or feature request we're likely to work on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants