| Index: pkg/analyzer/test/src/task/strong/front_end_inference_test.dart
|
| diff --git a/pkg/analyzer/test/src/task/strong/front_end_inference_test.dart b/pkg/analyzer/test/src/task/strong/front_end_inference_test.dart
|
| index 7cbd12add11a65cd2e1323f08d22a9c514cc92fa..fbd285988c5f5264b112a96e0ba2d0944a514a11 100644
|
| --- a/pkg/analyzer/test/src/task/strong/front_end_inference_test.dart
|
| +++ b/pkg/analyzer/test/src/task/strong/front_end_inference_test.dart
|
| @@ -312,6 +312,21 @@ class _InstrumentationVisitor extends RecursiveAstVisitor<Null> {
|
| }
|
| }
|
|
|
| + @override
|
| + visitFunctionExpressionInvocation(FunctionExpressionInvocation node) {
|
| + super.visitFunctionExpressionInvocation(node);
|
| + if (node.typeArguments == null) {
|
| + var inferredTypeArguments = _getInferredFunctionTypeArguments(
|
| + node.function.staticType,
|
| + node.staticInvokeType,
|
| + node.typeArguments)
|
| + .toList();
|
| + if (inferredTypeArguments.isNotEmpty) {
|
| + _recordTypeArguments(node.argumentList.offset, inferredTypeArguments);
|
| + }
|
| + }
|
| + }
|
| +
|
| visitIndexExpression(IndexExpression node) {
|
| super.visitIndexExpression(node);
|
| _recordMethodTarget(node.leftBracket.charOffset, node.staticElement);
|
|
|