Version 2.14.0-209.0.dev
Merge commit 'f1d6acf04f55446ae804079d903c877da78ac963' into 'dev'
diff --git a/pkg/analyzer/lib/src/error/codes.dart b/pkg/analyzer/lib/src/error/codes.dart
index bd18ac1..7f671fd 100644
--- a/pkg/analyzer/lib/src/error/codes.dart
+++ b/pkg/analyzer/lib/src/error/codes.dart
@@ -14542,18 +14542,23 @@
/**
* ?? Yield: It is a compile-time error if a yield statement appears in a
* function that is not a generator function.
+ *
+ * No parameters.
*/
static const CompileTimeErrorCode YIELD_EACH_IN_NON_GENERATOR =
CompileTimeErrorCode(
- 'YIELD_EACH_IN_NON_GENERATOR',
+ 'YIELD_IN_NON_GENERATOR',
"Yield-each statements must be in a generator function "
"(one marked with either 'async*' or 'sync*').",
correction:
- "Try adding 'async*' or 'sync*' to the enclosing function.");
+ "Try adding 'async*' or 'sync*' to the enclosing function.",
+ uniqueName: 'YIELD_EACH_IN_NON_GENERATOR');
/**
* ?? Yield: It is a compile-time error if a yield statement appears in a
* function that is not a generator function.
+ *
+ * No parameters.
*/
static const CompileTimeErrorCode YIELD_IN_NON_GENERATOR =
CompileTimeErrorCode(
diff --git a/tools/VERSION b/tools/VERSION
index f6c718f..e431238 100644
--- a/tools/VERSION
+++ b/tools/VERSION
@@ -27,5 +27,5 @@
MAJOR 2
MINOR 14
PATCH 0
-PRERELEASE 208
+PRERELEASE 209
PRERELEASE_PATCH 0
\ No newline at end of file