Index: pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart |
diff --git a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart |
index a536e0e4f498eb78fd47c143b66f18965c300233..1a7d9c4c7ade7c98dcbe2dc020ebb4abff240da8 100644 |
--- a/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart |
+++ b/pkg/compiler/lib/src/cps_ir/cps_ir_builder_task.dart |
@@ -648,8 +648,9 @@ abstract class IrBuilderVisitor extends ast.Visitor<ir.Primitive> |
return receiver; |
} |
+ // ## Sends ## |
@override |
- ir.Primitive visitAssert(ast.Assert node) { |
+ ir.Primitive visitAssert(ast.Send node, ast.Node condition, _) { |
assert(irBuilder.isOpen); |
if (compiler.enableUserAssertions) { |
return giveup(node, 'assert in checked mode not implemented'); |
@@ -662,7 +663,6 @@ abstract class IrBuilderVisitor extends ast.Visitor<ir.Primitive> |
} |
} |
- // ## Sends ## |
@override |
void previsitDeferredAccess(ast.Send node, PrefixElement prefix, _) { |
giveup(node, 'deferred access is not implemented'); |