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

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

Issue 9699030: Use NodeElement in SupertypeResolver (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/SupertypeResolver.java
diff --git a/compiler/java/com/google/dart/compiler/resolver/SupertypeResolver.java b/compiler/java/com/google/dart/compiler/resolver/SupertypeResolver.java
index b4c2c6ca864d45909b97bc5d33d77ea732e45753..63110be66653dd1a8e62a97b131480d8e92af631 100644
--- a/compiler/java/com/google/dart/compiler/resolver/SupertypeResolver.java
+++ b/compiler/java/com/google/dart/compiler/resolver/SupertypeResolver.java
@@ -123,7 +123,7 @@ public class SupertypeResolver {
private void setBoundsOnTypeParameters(List<Type> typeParameters,
ResolutionContext resolutionContext) {
for (Type typeParameter : typeParameters) {
- TypeVariableElement variable = (TypeVariableElement) typeParameter.getElement();
+ TypeVariableNodeElement variable = (TypeVariableNodeElement) typeParameter.getElement();
DartTypeParameter typeParameterNode = (DartTypeParameter) variable.getNode();
DartTypeNode boundNode = typeParameterNode.getBound();
if (boundNode != null) {

Powered by Google App Engine
This is Rietveld 408576698