Index: sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart b/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart |
index 1d8731d2a19aaa59156709536720465c44e3462f..c13831a1eca10c261322ab971188534a71ec5620 100644 |
--- a/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart |
+++ b/sdk/lib/_internal/compiler/implementation/types/concrete_types_inferrer.dart |
@@ -601,13 +601,11 @@ class ConcreteTypesInferrer { |
ConcreteType result = new ConcreteType.empty(); |
Map<Element, ConcreteType> argumentMap = |
associateArguments(function, argumentsTypes); |
- argumentMap.forEach((Element parameter, ConcreteType type) { |
- augmentParameterType(parameter, type); |
- }); |
// if the association failed, this send will never occur or will fail |
if (argumentMap == null) { |
return new ConcreteType.empty(); |
} |
+ argumentMap.forEach(augmentParameterType); |
ConcreteTypeCartesianProduct product = |
new ConcreteTypeCartesianProduct(receiverType, argumentMap); |
for (ConcreteTypesEnvironment environment in product) { |