Analyzer reports a return-without-value in a FutureOr<void>
function; does not report empty function
#44480
Labels
analyzer-warning
Issues with the analyzer's Warning codes
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
contributions-welcome
Contributions welcome to help resolve this (the resolution is expected to be clear from the issue)
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: