Analyzer warning not very helpful when missing async on a method #24264
Labels
analyzer-recovery
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
The following code
is missing the async keyword on the main method. However, the Analyzer warning is not very helpful, it just says
Undefined name 'await'
It would be great if we could be more specific and point the user towards the easy resolution to this.
The text was updated successfully, but these errors were encountered: