| Index: pkg/analysis_services/lib/src/index/index_contributor.dart
|
| diff --git a/pkg/analysis_services/lib/src/index/index_contributor.dart b/pkg/analysis_services/lib/src/index/index_contributor.dart
|
| index 69818a3660c30f287cd6e97aac32b60e618af649..c1c850ecf982e01b57866f85575f337245ba5ca6 100644
|
| --- a/pkg/analysis_services/lib/src/index/index_contributor.dart
|
| +++ b/pkg/analysis_services/lib/src/index/index_contributor.dart
|
| @@ -532,6 +532,17 @@ class _IndexContributor extends GeneralizingAstVisitor<Object> {
|
| }
|
|
|
| @override
|
| + Object visitDeclaredIdentifier(DeclaredIdentifier node) {
|
| + LocalVariableElement element = node.element;
|
| + enterScope(element);
|
| + try {
|
| + return super.visitDeclaredIdentifier(node);
|
| + } finally {
|
| + _exitScope();
|
| + }
|
| + }
|
| +
|
| + @override
|
| Object visitExportDirective(ExportDirective node) {
|
| ExportElement element = node.element;
|
| if (element != null) {
|
|
|