Index: pkg/kernel/lib/transformations/closure/rewriter.dart |
diff --git a/pkg/kernel/lib/transformations/closure/rewriter.dart b/pkg/kernel/lib/transformations/closure/rewriter.dart |
index ec258de70c0b7c134b85aeb5439ee02163ca57c8..757f02d7b8f67d5f8d6cb91f010d35660ff9159d 100644 |
--- a/pkg/kernel/lib/transformations/closure/rewriter.dart |
+++ b/pkg/kernel/lib/transformations/closure/rewriter.dart |
@@ -51,7 +51,7 @@ class BlockRewriter extends AstRewriter { |
return _currentBlock != block ? new BlockRewriter(block) : this; |
} |
- void transformStatements(Block block, ClosureConverter converter) { |
+ void transformStatements(ClosureConverter converter) { |
while (_insertionIndex < _currentBlock.statements.length) { |
var original = _currentBlock.statements[_insertionIndex]; |
var transformed = original.accept(converter); |