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 728435f22fb9414f9d53e8fb0c920bf8fff5b4e6..db9ad7ecf77f9040d5973f03a202c7f6975c76fb 100644 |
--- a/pkg/analyzer/lib/src/generated/error.dart |
+++ b/pkg/analyzer/lib/src/generated/error.dart |
@@ -2743,6 +2743,7 @@ abstract class ErrorCode { |
StaticTypeWarningCode.NON_BOOL_EXPRESSION, |
StaticTypeWarningCode.NON_BOOL_NEGATION_EXPRESSION, |
StaticTypeWarningCode.NON_BOOL_OPERAND, |
+ StaticTypeWarningCode.NON_NULLABLE_FIELD_NOT_INITIALIZED, |
StaticTypeWarningCode.NON_TYPE_AS_TYPE_ARGUMENT, |
StaticTypeWarningCode.RETURN_OF_INVALID_TYPE, |
StaticTypeWarningCode.TYPE_ARGUMENT_NOT_MATCHING_BOUNDS, |
@@ -4281,6 +4282,14 @@ class StaticTypeWarningCode extends ErrorCode { |
"The operands of the '{0}' operator must be assignable to 'bool'"); |
/** |
+ * |
+ */ |
+ static const StaticTypeWarningCode NON_NULLABLE_FIELD_NOT_INITIALIZED = |
+ const StaticTypeWarningCode( |
+ 'NON_NULLABLE_FIELD_NOT_INITIALIZED', |
+ "Variable '{0}' of non-nullable type '{1}' must be initialized"); |
+ |
+ /** |
* 15.8 Parameterized Types: It is a static type warning if <i>A<sub>i</sub>, |
* 1 <= i <= n</i> does not denote a type in the enclosing lexical scope. |
*/ |