Index: pkg/analyzer/test/generated/type_system_test.dart |
diff --git a/pkg/analyzer/test/generated/type_system_test.dart b/pkg/analyzer/test/generated/type_system_test.dart |
index 6aa2ad152ee9a8bd88438adcae751e4ab20ea842..c8d80700a5f7a2ab0b4971555cb2a9c699be1b00 100644 |
--- a/pkg/analyzer/test/generated/type_system_test.dart |
+++ b/pkg/analyzer/test/generated/type_system_test.dart |
@@ -1124,10 +1124,10 @@ class StrongGenericFunctionInferenceTest { |
List<DartType> _inferCall(FunctionTypeImpl ft, List<DartType> arguments, |
[DartType returnType]) { |
- FunctionType inferred = typeSystem.inferGenericFunctionCall( |
+ FunctionType inferred = typeSystem.inferGenericFunctionOrType( |
typeProvider, |
ft, |
- ft.parameters.map((p) => p.type).toList(), |
+ ft.parameters, |
arguments, |
ft.returnType, |
returnType); |