| Index: pkg/analysis_server/lib/src/search/type_hierarchy.dart
|
| diff --git a/pkg/analysis_server/lib/src/search/type_hierarchy.dart b/pkg/analysis_server/lib/src/search/type_hierarchy.dart
|
| index e723722c793133c6c09e58a9ed78eec1531dd7c8..29af16ef4f4dbd46af2b5c59fe8c46f9fc3fdb27 100644
|
| --- a/pkg/analysis_server/lib/src/search/type_hierarchy.dart
|
| +++ b/pkg/analysis_server/lib/src/search/type_hierarchy.dart
|
| @@ -53,15 +53,14 @@ class TypeHierarchyComputer {
|
| /**
|
| * Returns the computed type hierarchy, maybe `null`.
|
| */
|
| - Future<List<TypeHierarchyItem>> compute() {
|
| + Future<List<TypeHierarchyItem>> compute() async {
|
| if (_pivotClass != null) {
|
| InterfaceType type = _pivotClass.type;
|
| _createSuperItem(type);
|
| - return _createSubclasses(_items[0], 0, type).then((_) {
|
| - return new Future.value(_items);
|
| - });
|
| + await _createSubclasses(_items[0], 0, type);
|
| + return _items;
|
| }
|
| - return new Future.value(null);
|
| + return null;
|
| }
|
|
|
| /**
|
|
|