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 1a7d9c4c7ade7c98dcbe2dc020ebb4abff240da8..a536e0e4f498eb78fd47c143b66f18965c300233 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,9 +648,8 @@ abstract class IrBuilderVisitor extends ast.Visitor<ir.Primitive> |
return receiver; |
} |
- // ## Sends ## |
@override |
- ir.Primitive visitAssert(ast.Send node, ast.Node condition, _) { |
+ ir.Primitive visitAssert(ast.Assert node) { |
assert(irBuilder.isOpen); |
if (compiler.enableUserAssertions) { |
return giveup(node, 'assert in checked mode not implemented'); |
@@ -663,6 +662,7 @@ abstract class IrBuilderVisitor extends ast.Visitor<ir.Primitive> |
} |
} |
+ // ## Sends ## |
@override |
void previsitDeferredAccess(ast.Send node, PrefixElement prefix, _) { |
giveup(node, 'deferred access is not implemented'); |