Analyzer reports a return-without-value in a FutureOr<void>
function; does not report empty function
#44480
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
contributions-welcome
Contributions welcome to help resolve this (the resolution is expected to be clear from the issue)
devexp-warning
Issues with the analyzer's Warning codes
NNBD
Issues related to NNBD Release
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
See these two functions, each in null safe code:
A bit odd. I assume the
return_without_value
report is erroneous.The text was updated successfully, but these errors were encountered: