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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/FieldElementImplementation.java

Issue 9633009: Use Element instead of Symbol. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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
Index: compiler/java/com/google/dart/compiler/resolver/FieldElementImplementation.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/FieldElementImplementation.java b/compiler/java/com/google/dart/compiler/resolver/FieldElementImplementation.java
index ff14b5e742de22b0c2fd52cda438b3607a615dab..3305dcee7b7379714d31a6e1579d3eff85d66b89 100644
--- a/compiler/java/com/google/dart/compiler/resolver/FieldElementImplementation.java
+++ b/compiler/java/com/google/dart/compiler/resolver/FieldElementImplementation.java
@@ -60,14 +60,14 @@ class FieldElementImplementation extends AbstractElement implements FieldElement
public static FieldElementImplementation fromNode(DartField node,
EnclosingElement holder,
Modifiers modifiers) {
- return new FieldElementImplementation(node, node.getName().getTargetName(), holder, modifiers);
+ return new FieldElementImplementation(node, node.getName().getName(), holder, modifiers);
}
public static FieldElementImplementation fromNode(DartMethodDefinition node,
EnclosingElement holder,
Modifiers modifiers) {
return new FieldElementImplementation(node,
- ((DartIdentifier) node.getName()).getTargetName(),
+ ((DartIdentifier) node.getName()).getName(),
holder,
modifiers);
}

Powered by Google App Engine
This is Rietveld 408576698