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

Unified Diff: pkg/analysis_server/lib/src/services/index/index.dart

Issue 951463005: Small improvements for indexing NameElements. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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 | « no previous file | pkg/analysis_server/lib/src/services/index/store/codec.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/services/index/index.dart
diff --git a/pkg/analysis_server/lib/src/services/index/index.dart b/pkg/analysis_server/lib/src/services/index/index.dart
index cea7395cd6fea61badcdcba65c018e937cccd6f9..6864e17c289c444a1edff8cab7f061df16d6537a 100644
--- a/pkg/analysis_server/lib/src/services/index/index.dart
+++ b/pkg/analysis_server/lib/src/services/index/index.dart
@@ -299,7 +299,7 @@ class LocationWithData<D> extends Location {
* a concrete kind of this name - field, method or something else.
*/
class NameElement extends ElementImpl {
- NameElement(String name) : super("name:${name}", -1);
+ NameElement(String name) : super(name, -1);
@override
ElementKind get kind => ElementKind.NAME;
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/services/index/store/codec.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698