| Index: pkg/analysis_server/lib/src/services/index/index_contributor.dart
|
| diff --git a/pkg/analysis_server/lib/src/services/index/index_contributor.dart b/pkg/analysis_server/lib/src/services/index/index_contributor.dart
|
| index 2f766e81ab111d562b2fb10369086fcd82a03689..ae1ec6971206df97bf62d064e0daa1c44c4a6509 100644
|
| --- a/pkg/analysis_server/lib/src/services/index/index_contributor.dart
|
| +++ b/pkg/analysis_server/lib/src/services/index/index_contributor.dart
|
| @@ -649,7 +649,7 @@ class _IndexContributor extends GeneralizingAstVisitor {
|
|
|
| void _recordHasAncestor(ClassElement element) {
|
| int offset = element.nameOffset;
|
| - int length = element.name.length;
|
| + int length = element.nameLength;
|
| LocationImpl location = _createLocationForOffset(offset, length);
|
| _recordHasAncestor0(location, element, false, <ClassElement>[]);
|
| }
|
|
|