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

Unified Diff: compiler/java/com/google/dart/compiler/resolver/TypeVariableElementImplementation.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/TypeVariableElementImplementation.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/TypeVariableElementImplementation.java b/compiler/java/com/google/dart/compiler/resolver/TypeVariableElementImplementation.java
index 921221d0750e467a18d53c1f26c03671033cadea..149861ee25d405531e7315e746434148280c45e0 100644
--- a/compiler/java/com/google/dart/compiler/resolver/TypeVariableElementImplementation.java
+++ b/compiler/java/com/google/dart/compiler/resolver/TypeVariableElementImplementation.java
@@ -39,7 +39,7 @@ class TypeVariableElementImplementation extends AbstractElement implements TypeV
static TypeVariableElementImplementation fromNode(DartTypeParameter node, Element owner) {
TypeVariableElementImplementation element =
- new TypeVariableElementImplementation(node, node.getName().getTargetName(), owner);
+ new TypeVariableElementImplementation(node, node.getName().getName(), owner);
element.setType(Types.typeVariable(element));
return element;
}

Powered by Google App Engine
This is Rietveld 408576698