Index: pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart |
diff --git a/pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart b/pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart |
index c51de80a9e8150fbae94c51f5c688ff12636377c..8bec7c1b88343e13aef76b7266c413c22d8e0590 100644 |
--- a/pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart |
+++ b/pkg/front_end/lib/src/fasta/type_inference/type_inferrer.dart |
@@ -847,6 +847,7 @@ abstract class TypeInferrerImpl extends TypeInferrer { |
listener.methodInvocationEnter(expression, typeContext) || typeNeeded; |
// First infer the receiver so we can look up the method that was invoked. |
var receiverType = inferExpression(receiver, null, true); |
+ listener.methodInvocationBeforeArgs(expression, isImplicitCall); |
if (strongMode) { |
receiverVariable?.type = receiverType; |
} |
@@ -882,7 +883,8 @@ abstract class TypeInferrerImpl extends TypeInferrer { |
isOverloadedArithmeticOperator: isOverloadedArithmeticOperator, |
receiverType: receiverType, |
forceArgumentInference: forceArgumentInference); |
- listener.methodInvocationExit(expression, inferredType); |
+ listener.methodInvocationExit( |
+ expression, arguments, isImplicitCall, inferredType); |
return inferredType; |
} |