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 a350b5bb6d89cc721117e29a4d2dcdfc8aea28e3..03117e27f90d56822e142fc8cf052ac2749b18a4 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 |
@@ -339,7 +339,7 @@ class _InstrumentationVisitor extends RecursiveAstVisitor<Null> { |
if (node.parent is! FunctionDeclaration) { |
DartType type = node.staticType; |
if (type is FunctionType) { |
- _instrumentation.record(uri, node.offset, 'returnType', |
+ _instrumentation.record(uri, node.parameters.offset, 'returnType', |
new _InstrumentationValueForType(type.returnType, elementNamer)); |
List<FormalParameter> parameters = node.parameters.parameters; |
for (int i = 0; i < parameters.length; i++) { |