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

Unified Diff: pkg/analysis_server/lib/src/services/completion/dart/static_member_contributor.dart

Issue 1509723004: do not suggest static methods from superclass - fixes #24258 (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: merge Created 5 years 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/analysis_server/test/completion_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/services/completion/dart/static_member_contributor.dart
diff --git a/pkg/analysis_server/lib/src/services/completion/dart/static_member_contributor.dart b/pkg/analysis_server/lib/src/services/completion/dart/static_member_contributor.dart
index 86f841e368322c50dfadcea3b97fb6f36398a648..cb94c1de9f2333d8408e9dab8e8ad5bcda799265 100644
--- a/pkg/analysis_server/lib/src/services/completion/dart/static_member_contributor.dart
+++ b/pkg/analysis_server/lib/src/services/completion/dart/static_member_contributor.dart
@@ -101,12 +101,6 @@ class _SuggestionBuilder extends GeneralizingElementVisitor {
@override
visitClassElement(ClassElement element) {
element.visitChildren(this);
- element.allSupertypes.forEach((InterfaceType type) {
- ClassElement childElem = type.element;
- if (childElem != null) {
- childElem.visitChildren(this);
- }
- });
}
@override
« no previous file with comments | « no previous file | pkg/analysis_server/test/completion_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698