Open
Description
Follow-up from #54820 (comment)
Never? f() => null;
results in the lint Unnecessary use of the type 'Null'. Try using 'void' instead.
. This seems like a poor message, at the very least.
Metadata
Metadata
Assignees
Labels
A lower priority bug or feature requestFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.Issues with the analyzer's support for the linter packageIssues related to lint rules that report a problem when it isn't a problem.Incorrect behavior (everything from a crash to more subtle misbehavior)