Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(106)

Unified Diff: pkg/analyzer/lib/error/error.dart

Issue 2782533002: Report errors for the new top-level inference rules. (Closed)
Patch Set: Update language_strong status for analyzer. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/analysis/driver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
];
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/analysis/driver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698