false positive for prefer_void_to_null
w/ Never?
#4867
Labels
false-positive
P3
A lower priority bug or feature request
set-recommended
Affects a rule in the recommended Dart rule set
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Follow-up from dart-lang/sdk#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: