I would like a --strict-await
static analysis option (2.1+)
#33823
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.
P2
A bug or feature request we're likely to work on
type-enhancement
A request for a change that isn't a bug
Branched from #33415 (comment) and original work by @MichaelRFairhurst.
There are many remaining places in the language where
await
can be misused, and some of them (likeawait <void>
) didn't make the cut for Dart 2.0, and others (likeawait 5
) are, for some reason, important to retain in the language. In the set of optional strict static analysis checks (see #33749), I'd like to see these addressed:(My rationale for not making this a lint is the same as #33749)
The text was updated successfully, but these errors were encountered: