prefer_void_to_null
shouldn't lint for local variables.
#58906
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
linter-set-recommended
P2
A bug or feature request we're likely to work on
Describe the issue
prefer_void_to_null should not be triggered for local variable.
The reason is: local variable can not be
void
.To Reproduce
Expected behavior
There is no lint.
The text was updated successfully, but these errors were encountered: