Skip to content

extend constant_identifier_names for destructured final variable declarations #58859

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 #58837
pq opened this issue Sep 8, 2022 · 0 comments · Fixed by dart-archive/linter#3979
Closed
Tracked by #58837
Labels
devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead. linter-new-language-feature linter-set-recommended P1 A high priority bug; for example, a single project is unusable or has many test failures

Comments

@pq
Copy link
Member

pq commented Sep 8, 2022

Destructuring doc.

Example:

BAD

final (LAT, LONG) = geoCode('Aarhus');

(double, double) geoCode(String city) => ...;

GOOD

final (lat, long) = geoCode('Aarhus');

(double, double) geoCode(String city) => ...;
@pq pq added P1 A high priority bug; for example, a single project is unusable or has many test failures linter-new-language-feature labels Sep 8, 2022
@devoncarew devoncarew added devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead. labels Nov 19, 2024
@devoncarew devoncarew transferred this issue from dart-archive/linter Nov 19, 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-new-language-feature linter-set-recommended P1 A high priority bug; for example, a single project is unusable or has many test failures
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants