false positive for prefer_void_to_null
w/ Never?
#59388
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
devexp-linter
Issues with the analyzer's support for the linter package
linter-false-positive
linter-set-recommended
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Follow-up from #54820 (comment)
results in the lint
Unnecessary use of the type 'Null'. Try using 'void' instead.
. This seems like a poor message, at the very least.The text was updated successfully, but these errors were encountered: