Index: pkg/analyzer/lib/src/generated/error.dart |
diff --git a/pkg/analyzer/lib/src/generated/error.dart b/pkg/analyzer/lib/src/generated/error.dart |
index f8b369c43733001bb37d3e92edf591f2fd440452..5da5c66988d797724f364ebed2d084ffb351d5de 100644 |
--- a/pkg/analyzer/lib/src/generated/error.dart |
+++ b/pkg/analyzer/lib/src/generated/error.dart |
@@ -5760,6 +5760,13 @@ class StaticWarningCode extends ErrorCode { |
const StaticWarningCode('UNDEFINED_IDENTIFIER', "Undefined name '{0}'"); |
/** |
+ * If the identifer is 'await', be helpful about it. |
+ */ |
+ static const StaticWarningCode UNDEFINED_IDENTIFIER_AWAIT = |
+ const StaticWarningCode('UNDEFINED_IDENTIFIER_AWAIT', |
+ "Undefined name 'await'; did you mean to add the 'async' marker to '{0}'?"); |
+ |
+ /** |
* 12.14.2 Binding Actuals to Formals: Furthermore, each <i>q<sub>i</sub></i>, |
* <i>1<=i<=l</i>, must have a corresponding named parameter in the set |
* {<i>p<sub>n+1</sub></i> … <i>p<sub>n+k</sub></i>} or a static |