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 19b79685e44449a343300abf5aed8a5460c91b86..4eb4a57b37e07f5b3202d0b90604e48025d6a1e3 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 |
@@ -457,11 +457,7 @@ class _InstrumentationVisitor extends RecursiveAstVisitor<Null> { |
super.visitMethodDeclaration(node); |
if (node.element.enclosingElement is ClassElement && !node.isStatic) { |
if (node.returnType == null) { |
- // For now, we skip inferred return types of setters. |
- // TODO(paulberry): fix this. |
- if (!node.isSetter) { |
- _recordTopType(node.name.offset, node.element.returnType); |
- } |
+ _recordTopType(node.name.offset, node.element.returnType); |
} |
if (node.parameters != null) { |
for (var parameter in node.parameters.parameters) { |