Index: tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart |
diff --git a/tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart b/tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart |
index 196df43847d5819d7a8e430b45b0be7335c3a5e5..511b1f758c2d3bf654d07f71b6a7e8c612abb4ea 100644 |
--- a/tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart |
+++ b/tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart |
@@ -298,7 +298,21 @@ class SemanticSendTestVisitor extends SemanticTestVisitor { |
arg) { |
visits.add(new Visit(VisitKind.VISIT_LOCAL_FUNCTION_INVOKE, |
element: function, arguments: arguments, selector: callStructure)); |
- apply(arguments, arg); |
+ super.visitLocalFunctionInvoke( |
+ node, function, arguments, callStructure, arg); |
+ } |
+ |
+ @override |
+ visitLocalFunctionIncompatibleInvoke( |
+ Send node, |
+ LocalFunctionElement function, |
+ NodeList arguments, |
+ CallStructure callStructure, |
+ arg) { |
+ visits.add(new Visit(VisitKind.VISIT_LOCAL_FUNCTION_INCOMPATIBLE_INVOKE, |
+ element: function, arguments: arguments, selector: callStructure)); |
+ super.visitLocalFunctionInvoke( |
+ node, function, arguments, callStructure, arg); |
} |
@override |