| Index: pkg/compiler/lib/src/resolution/semantic_visitor.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/semantic_visitor.dart b/pkg/compiler/lib/src/resolution/semantic_visitor.dart
|
| index f87664bc1e9945b6ba0c9ff5dd27be7675d25673..bb9910184268ff74099b49cc6083270d492715f2 100644
|
| --- a/pkg/compiler/lib/src/resolution/semantic_visitor.dart
|
| +++ b/pkg/compiler/lib/src/resolution/semantic_visitor.dart
|
| @@ -1300,6 +1300,32 @@ abstract class SemanticSendVisitor<R, A> {
|
| Node rhs,
|
| A arg);
|
|
|
| + /// Call to `assert` with [expression] as the condition.
|
| + ///
|
| + /// For instance:
|
| + ///
|
| + /// m() { assert(expression); }
|
| + ///
|
| + R visitAssert(
|
| + Send node,
|
| + Node expression,
|
| + A arg);
|
| +
|
| + /// Call to `assert` with the wrong number of [arguments].
|
| + ///
|
| + /// For instance:
|
| + ///
|
| + /// m() { assert(); }
|
| + ///
|
| + /// or
|
| + ///
|
| + /// m() { assert(expression1, expression2); }
|
| + ///
|
| + R errorInvalidAssert(
|
| + Send node,
|
| + NodeList arguments,
|
| + A arg);
|
| +
|
| /// Binary expression `left operator right` where [operator] is a user
|
| /// definable operator. Binary expressions using operator `==` are handled
|
| /// by [visitEquals] and index operations `a[b]` are handled by [visitIndex].
|
|
|