| 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) {
|
|
|