Index: compiler/javatests/com/google/dart/compiler/type/FunctionTypeTest.java |
diff --git a/compiler/javatests/com/google/dart/compiler/type/FunctionTypeTest.java b/compiler/javatests/com/google/dart/compiler/type/FunctionTypeTest.java |
index 55e367edd7d96e728039bdcefc25271040b6ecf6..5e893b917eb4d1bd635526ea597c554fb7e4cc0d 100644 |
--- a/compiler/javatests/com/google/dart/compiler/type/FunctionTypeTest.java |
+++ b/compiler/javatests/com/google/dart/compiler/type/FunctionTypeTest.java |
@@ -79,11 +79,10 @@ public class FunctionTypeTest extends TypeTestCase { |
assertEquals(stringAndIntToMap, stringAndIntToMapS.subst(args, vars)); |
FunctionType oAndNamedToO = FunctionTypeImplementation.of(function, Arrays.<Type>asList(o), |
- named(itype(string), "arg"), null, o, |
- null); |
+ named(itype(string), "arg"), null, o); |
assertEquals(objectAndNamedStringToObject, oAndNamedToO.subst(args, vars)); |
- Type osToO = FunctionTypeImplementation.of(function, Arrays.<Type>asList(), null, o, o, null); |
+ Type osToO = FunctionTypeImplementation.of(function, Arrays.<Type>asList(), null, o, o); |
assertEquals(objectsToObject, osToO.subst(args, vars)); |
} |