Chromium Code Reviews| Index: pkg/analyzer/lib/src/error/codes.dart |
| diff --git a/pkg/analyzer/lib/src/error/codes.dart b/pkg/analyzer/lib/src/error/codes.dart |
| index 9b4b73df12512150a33610531e7dcdac49744eb9..b689d48e1fb95babb075affe88c21e131f78d7f6 100644 |
| --- a/pkg/analyzer/lib/src/error/codes.dart |
| +++ b/pkg/analyzer/lib/src/error/codes.dart |
| @@ -4542,7 +4542,7 @@ class StaticWarningCode extends ErrorCode { |
| static const StaticWarningCode UNDEFINED_IDENTIFIER_AWAIT = |
| const StaticWarningCode( |
| 'UNDEFINED_IDENTIFIER_AWAIT', |
| - "Undefined name 'await'.", |
| + "Undefined name 'await' in function body not marked with 'async'", |
|
Brian Wilkerson
2017/01/27 18:41:56
Please add a period.
|
| "Try correcting the name to one that is defined, " |
| "defining the name, or " |
| "adding 'async' to the enclosing function body."); |