unawaited_futures
false negative for FutureOr
#59105
Labels
area-devexp
For issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.
devexp-linter
Issues with the analyzer's support for the linter package
linter-false-negative
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Describe the issue
unawaited_futures
not linting withFutureOr
To Reproduce
Add the lint to
analysis_options.yaml
and run the following:Expected behavior
I expected the linter to warn me about
FutureOr Function
s so that I only process things after the previous lines have been processed.The text was updated successfully, but these errors were encountered: