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 0125b4303dd8c5389e54337e11a4d289866543c0..3aa941e21cf8af66b1dd55e145d944e96d840d8b 100644 |
--- a/tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart |
+++ b/tests/compiler/dart2js/semantic_visitor_test_send_visitor.dart |
@@ -20,6 +20,24 @@ class SemanticSendTestVisitor extends SemanticTestVisitor { |
} |
@override |
+ visitAssert( |
+ Send node, |
+ Node expression, |
+ arg) { |
+ visits.add(new Visit(VisitKind.VISIT_ASSERT, expression: expression)); |
+ super.visitAssert(node, expression, arg); |
+ } |
+ |
+ @override |
+ errorInvalidAssert( |
+ Send node, |
+ NodeList arguments, |
+ arg) { |
+ visits.add(new Visit(VisitKind.ERROR_INVALID_ASSERT, arguments: arguments)); |
+ super.errorInvalidAssert(node, arguments, arg); |
+ } |
+ |
+ @override |
errorInvalidCompound( |
Send node, |
ErroneousElement error, |