Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1452)

Unified Diff: pkg/analysis_services/lib/src/index/index_contributor.dart

Issue 390103003: Remove variable reference in combinator workaround. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analysis_server/pubspec.yaml ('k') | pkg/analysis_services/pubspec.yaml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 eba8d9f97f3927a4e7e7b72eded98b6943699826..69818a3660c30f287cd6e97aac32b60e618af649 100644
--- a/pkg/analysis_services/lib/src/index/index_contributor.dart
+++ b/pkg/analysis_services/lib/src/index/index_contributor.dart
@@ -668,10 +668,6 @@ class _IndexContributor extends GeneralizingAstVisitor<Object> {
}
// prepare information
Element element = node.bestElement;
- // TODO(scheglov) fix resolver to resolve to Field, not an accessor
- if (node.parent is Combinator && element is PropertyAccessorElement) {
- element = (element as PropertyAccessorElement).variable;
- }
// stop if already handled
if (_isAlreadyHandledName(node)) {
return null;
« no previous file with comments | « pkg/analysis_server/pubspec.yaml ('k') | pkg/analysis_services/pubspec.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698