-
Notifications
You must be signed in to change notification settings - Fork 342
Open
Labels
a-toolsOur own development tooling, scripts, and infrastructureOur own development tooling, scripts, and infrastructureupstreamWould benefit from work in Flutter or another upstreamWould benefit from work in Flutter or another upstream
Milestone
Description
There's a pair of lint rules in the Dart analyzer that detect when we have a Future and neglect to await it:
https://dart.dev/tools/linter-rules/unawaited_futures
https://dart.dev/tools/linter-rules/discarded_futures
(Despite the name, unawaited_futures
doesn't cover one major class of unawaited futures: those where the enclosing function isn't even async
. Those are covered by discarded_futures
.)
It'd be good to enable those. The bugs they catch can be pretty subtle otherwise.
Metadata
Metadata
Assignees
Labels
a-toolsOur own development tooling, scripts, and infrastructureOur own development tooling, scripts, and infrastructureupstreamWould benefit from work in Flutter or another upstreamWould benefit from work in Flutter or another upstream
Type
Projects
Status
No status