Index: pkg/analyzer/lib/error/error.dart |
diff --git a/pkg/analyzer/lib/error/error.dart b/pkg/analyzer/lib/error/error.dart |
index d79d6cd2570f9983ec1bd29bf5e684beaa793401..6ba0b3906bed33f4f3d457dffe018b1920f9e332 100644 |
--- a/pkg/analyzer/lib/error/error.dart |
+++ b/pkg/analyzer/lib/error/error.dart |
@@ -638,6 +638,13 @@ const List<ErrorCode> errorCodeValues = const [ |
StrongModeCode.NO_DEFAULT_BOUNDS, |
StrongModeCode.NON_GROUND_TYPE_CHECK_INFO, |
StrongModeCode.NOT_INSTANTIATED_BOUND, |
+ StrongModeCode.TOP_LEVEL_CYCLE, |
+ StrongModeCode.TOP_LEVEL_FUNCTION_LITERAL_BLOCK, |
+ StrongModeCode.TOP_LEVEL_FUNCTION_LITERAL_PARAMETER, |
+ StrongModeCode.TOP_LEVEL_IDENTIFIER_NO_TYPE, |
+ StrongModeCode.TOP_LEVEL_INSTANCE_GETTER, |
+ StrongModeCode.TOP_LEVEL_TYPE_ARGUMENTS, |
+ StrongModeCode.TOP_LEVEL_UNSUPPORTED, |
StrongModeCode.UNSAFE_BLOCK_CLOSURE_INFERENCE, |
TodoCode.TODO, |
]; |