Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

prefer_void_to_null: not for variable declarations #4210

Merged
merged 2 commits into from
Mar 29, 2023
Merged

prefer_void_to_null: not for variable declarations #4210

merged 2 commits into from
Mar 29, 2023

Conversation

srawlins
Copy link
Contributor

Fixes dart-lang/sdk#58906 to not report Null as the type of a variable declaration.

@github-actions github-actions bot added the linter-set-recommended Affects a rule in the recommended Dart rule set label Mar 23, 2023
@coveralls
Copy link

coveralls commented Mar 23, 2023

Coverage Status

Coverage: 96.33% (+0.001%) from 96.329% when pulling 0fc1d28 on fix-3792 into 40dd80c on main.

Copy link
Contributor

@pq pq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💎

@srawlins srawlins merged commit eb14c10 into main Mar 29, 2023
@srawlins srawlins deleted the fix-3792 branch March 29, 2023 14:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
linter-set-recommended Affects a rule in the recommended Dart rule set
Development

Successfully merging this pull request may close these issues.

prefer_void_to_null shouldn't lint for local variables.
3 participants