| 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 bc2863cd9ee9f19603174ffb5623a116edbf9a85..b4c2c6ca864d45909b97bc5d33d77ea732e45753 100644
|
| --- a/compiler/java/com/google/dart/compiler/resolver/SupertypeResolver.java
|
| +++ b/compiler/java/com/google/dart/compiler/resolver/SupertypeResolver.java
|
| @@ -126,19 +126,15 @@ public class SupertypeResolver {
|
| TypeVariableElement variable = (TypeVariableElement) typeParameter.getElement();
|
| DartTypeParameter typeParameterNode = (DartTypeParameter) variable.getNode();
|
| DartTypeNode boundNode = typeParameterNode.getBound();
|
| - Type bound;
|
| if (boundNode != null) {
|
| - bound =
|
| + Type bound =
|
| resolutionContext.resolveType(
|
| boundNode,
|
| false,
|
| false,
|
| ResolverErrorCode.NO_SUCH_TYPE);
|
| boundNode.setType(bound);
|
| - } else {
|
| - bound = typeProvider.getObjectType();
|
| }
|
| - variable.setBound(bound);
|
| }
|
| }
|
|
|
|
|