| Index: pkg/compiler/lib/src/resolution/send_structure.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/send_structure.dart b/pkg/compiler/lib/src/resolution/send_structure.dart
|
| index 8c7a893d6de6b5165b735790622e90befa42c42c..30b88f7afc1a5f869a4a7f7e5174445a3a515ddf 100644
|
| --- a/pkg/compiler/lib/src/resolution/send_structure.dart
|
| +++ b/pkg/compiler/lib/src/resolution/send_structure.dart
|
| @@ -32,35 +32,6 @@ abstract class SendStructure<R, A> extends SemanticSendStructure<R, A> {
|
| R dispatch(SemanticSendVisitor<R, A> visitor, Send send, A arg);
|
| }
|
|
|
| -/// The structure for a [Send] of the form `assert(e)`.
|
| -class AssertStructure<R, A> implements SendStructure<R, A> {
|
| - const AssertStructure();
|
| -
|
| - R dispatch(SemanticSendVisitor<R, A> visitor, Send node, A arg) {
|
| - return visitor.visitAssert(
|
| - node,
|
| - node.arguments.single,
|
| - arg);
|
| - }
|
| -
|
| - String toString() => 'assert';
|
| -}
|
| -
|
| -/// The structure for a [Send] of the form an `assert` with less or more than
|
| -/// one argument.
|
| -class InvalidAssertStructure<R, A> implements SendStructure<R, A> {
|
| - const InvalidAssertStructure();
|
| -
|
| - R dispatch(SemanticSendVisitor<R, A> visitor, Send node, A arg) {
|
| - return visitor.errorInvalidAssert(
|
| - node,
|
| - node.argumentsNode,
|
| - arg);
|
| - }
|
| -
|
| - String toString() => 'invalid assert';
|
| -}
|
| -
|
| /// The structure for a [Send] of the form `a ?? b`.
|
| class IfNullStructure<R, A> implements SendStructure<R, A> {
|
| const IfNullStructure();
|
|
|