Index: pkg/analyzer/lib/error/error.dart |
diff --git a/pkg/analyzer/lib/error/error.dart b/pkg/analyzer/lib/error/error.dart |
index 49c0179a897bafd668f5d201b204609415291083..ce8b3849e9b88b43e1943e3e0c2e170d86ba0e76 100644 |
--- a/pkg/analyzer/lib/error/error.dart |
+++ b/pkg/analyzer/lib/error/error.dart |
@@ -869,6 +869,13 @@ abstract class ErrorCode { |
StrongModeCode.INFERRED_TYPE_ALLOCATION, |
StrongModeCode.INFERRED_TYPE_CLOSURE, |
StrongModeCode.INFERRED_TYPE_LITERAL, |
+ StrongModeCode.INVALID_CAST_LITERAL, |
+ StrongModeCode.INVALID_CAST_LITERAL_LIST, |
+ StrongModeCode.INVALID_CAST_LITERAL_MAP, |
+ StrongModeCode.INVALID_CAST_FUNCTION_EXPR, |
+ StrongModeCode.INVALID_CAST_NEW_EXPR, |
+ StrongModeCode.INVALID_CAST_METHOD, |
+ StrongModeCode.INVALID_CAST_FUNCTION, |
StrongModeCode.INVALID_FIELD_OVERRIDE, |
StrongModeCode.INVALID_METHOD_OVERRIDE, |
StrongModeCode.INVALID_METHOD_OVERRIDE_FROM_BASE, |
@@ -876,7 +883,6 @@ abstract class ErrorCode { |
StrongModeCode.INVALID_PARAMETER_DECLARATION, |
StrongModeCode.INVALID_SUPER_INVOCATION, |
StrongModeCode.NON_GROUND_TYPE_CHECK_INFO, |
- StrongModeCode.STATIC_TYPE_ERROR, |
StrongModeCode.UNSAFE_BLOCK_CLOSURE_INFERENCE, |
TodoCode.TODO, |
]; |