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 5f88d97efb5d38f581902af584b4cb19066cdaab..3f4d0d3910623b206461687963df5426f2df342a 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); |