Index: compiler/java/com/google/dart/compiler/type/FunctionTypeImplementation.java |
diff --git a/compiler/java/com/google/dart/compiler/type/FunctionTypeImplementation.java b/compiler/java/com/google/dart/compiler/type/FunctionTypeImplementation.java |
index 54d5c33d6c060f653986cb6c1ff16da5588c4596..86519a44277b932df8711339e84ae2de7ca93cf7 100644 |
--- a/compiler/java/com/google/dart/compiler/type/FunctionTypeImplementation.java |
+++ b/compiler/java/com/google/dart/compiler/type/FunctionTypeImplementation.java |
@@ -33,8 +33,8 @@ class FunctionTypeImplementation extends AbstractType implements FunctionType { |
} |
@Override |
- public Type subst(List<? extends Type> arguments, |
- List<? extends Type> parameters) { |
+ public Type subst(List<Type> arguments, |
+ List<Type> parameters) { |
List<Type> substitutedParameterTypes = Types.subst(getParameterTypes(), arguments, parameters); |
Map<String, Type> substitutedNamedParameterTypes = null; |
if (!getNamedParameterTypes().isEmpty()) { |
@@ -65,7 +65,7 @@ class FunctionTypeImplementation extends AbstractType implements FunctionType { |
} |
@Override |
- public List<? extends Type> getParameterTypes() { |
+ public List<Type> getParameterTypes() { |
return parameterTypes; |
} |