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

Unified Diff: pkg/analyzer/lib/src/summary/link.dart

Issue 2527523002: Implement 'displayName' for accessor and varaible elements in linker. (Closed)
Patch Set: Created 4 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/lib/src/summary/link.dart
diff --git a/pkg/analyzer/lib/src/summary/link.dart b/pkg/analyzer/lib/src/summary/link.dart
index f4486bb0e969784fc79068f47f3075497563bd13..7bfbed1de4168e81c39c01b1e95a1538e8de67d5 100644
--- a/pkg/analyzer/lib/src/summary/link.dart
+++ b/pkg/analyzer/lib/src/summary/link.dart
@@ -4351,6 +4351,9 @@ class PropertyAccessorElementForLink_Variable extends Object
TypeInferenceNode get asTypeInferenceNode => variable._typeInferenceNode;
@override
+ String get displayName => variable.displayName;
+
+ @override
Element get enclosingElement => variable.enclosingElement;
@override
@@ -5001,6 +5004,9 @@ abstract class VariableElementForLink
}
@override
+ String get displayName => unlinkedVariable.name;
+
+ @override
PropertyAccessorElementForLink_Variable get getter =>
_getter ??= new PropertyAccessorElementForLink_Variable(this, false);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698