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

Unified Diff: pkg/analyzer/lib/src/task/dart.dart

Issue 1169833007: Filter additional error codes (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/task/dart.dart
diff --git a/pkg/analyzer/lib/src/task/dart.dart b/pkg/analyzer/lib/src/task/dart.dart
index f509272a6681d4dbdd88a5e826ba3479f8714125..8fb0c7528511d0d74b6544bdd9d2bc892d6c9f15 100644
--- a/pkg/analyzer/lib/src/task/dart.dart
+++ b/pkg/analyzer/lib/src/task/dart.dart
@@ -425,6 +425,7 @@ void removeDuplicateDefinitionErrors(List<AnalysisError> errors) {
ErrorCode errorCode = error.errorCode;
return errorCode == CompileTimeErrorCode.DUPLICATE_DEFINITION ||
errorCode == CompileTimeErrorCode.GETTER_AND_METHOD_WITH_SAME_NAME ||
+ errorCode == CompileTimeErrorCode.METHOD_AND_GETTER_WITH_SAME_NAME ||
errorCode ==
CompileTimeErrorCode.PREFIX_COLLIDES_WITH_TOP_LEVEL_MEMBER;
});
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698