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; |
}); |