unawaited_futures
doesn't detect unawaited futures in non-async
functions
#58711
Labels
devexp-linter
Issues with the analyzer's support for the linter package
legacy-area-analyzer
Use area-devexp instead.
Describe the issue
if a
Future
is not awaited within a non-async
function, theunawaited_futures
warning is not triggeredTo Reproduce
Expected behavior
warning when not awaiting a
Future
even when the function is notasync
, as it's just as likely to be a mistake either wayThe text was updated successfully, but these errors were encountered: