| Index: pkg/analysis_server/lib/src/services/completion/imported_reference_contributor.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/completion/imported_reference_contributor.dart b/pkg/analysis_server/lib/src/services/completion/imported_reference_contributor.dart
|
| index 5608f8f9bc959c40460f1d992983ae7c17b8563b..0fced1ded4dd0e1d1d98e3bf2d058ff00266f8d7 100644
|
| --- a/pkg/analysis_server/lib/src/services/completion/imported_reference_contributor.dart
|
| +++ b/pkg/analysis_server/lib/src/services/completion/imported_reference_contributor.dart
|
| @@ -191,9 +191,8 @@ class _ImportedSuggestionBuilder extends ElementSuggestionBuilder
|
| // Build a list of inherited types that are imported
|
| // and include any inherited imported members
|
| List<String> inheritedTypes = new List<String>();
|
| - visitInheritedTypes(classDecl, (_) {
|
| - // local declarations are handled by the local reference contributor
|
| - }, (String typeName) {
|
| + // local declarations are handled by the local reference contributor
|
| + visitInheritedTypes(classDecl, importedTypeName: (String typeName) {
|
| inheritedTypes.add(typeName);
|
| });
|
| HashSet<String> visited = new HashSet<String>();
|
|
|