| Index: compiler/java/com/google/dart/compiler/type/Types.java
|
| diff --git a/compiler/java/com/google/dart/compiler/type/Types.java b/compiler/java/com/google/dart/compiler/type/Types.java
|
| index 1655b682dd477faa13aa0c93bcd9de9c2b55546f..ca701f6603b37a77aa8aa35cd038d3b2ea8c5d12 100644
|
| --- a/compiler/java/com/google/dart/compiler/type/Types.java
|
| +++ b/compiler/java/com/google/dart/compiler/type/Types.java
|
| @@ -53,7 +53,7 @@ public class Types {
|
| * function or variable type.
|
| */
|
| public InterfaceType getInterfaceType(Type type) {
|
| - switch (type.getKind()) {
|
| + switch (TypeKind.of(type)) {
|
| case VARIABLE: {
|
| TypeVariableElement element = ((TypeVariable) type).getTypeVariableElement();
|
| if (element.getBound() == null) {
|
|
|