| 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 3159baf8b56344ad2623cd676a97d17d13830471..c8748faed4f9ee325fadd667700b1485c95d3c1b 100644
|
| --- a/pkg/analysis_server/lib/src/services/index/index_contributor.dart
|
| +++ b/pkg/analysis_server/lib/src/services/index/index_contributor.dart
|
| @@ -220,20 +220,6 @@ class _IndexContributor extends GeneralizingAstVisitor<Object> {
|
| @override
|
| Object visitConstructorDeclaration(ConstructorDeclaration node) {
|
| ConstructorElement element = node.element;
|
| - // define
|
| - {
|
| - Location location;
|
| - if (node.name != null) {
|
| - int start = node.period.offset;
|
| - int end = node.name.end;
|
| - location = _createLocationForOffset(start, end - start);
|
| - } else {
|
| - int start = node.returnType.end;
|
| - location = _createLocationForOffset(start, 0);
|
| - }
|
| - recordRelationship(element, IndexConstants.NAME_IS_DEFINED_BY, location);
|
| - }
|
| - // visit children
|
| enterScope(element);
|
| try {
|
| return super.visitConstructorDeclaration(node);
|
|
|