| Index: sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
|
| index 6dea90437d71fe470488dd037a57663d1598caef..4ac6674a938ea1b18f964344f960d2026cacc228 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
|
| @@ -112,7 +112,8 @@ class FunctionBodyRewriter extends CloningVisitor {
|
| builder.addLast(visit(rewriteStatement(statement)));
|
| }
|
| }
|
| - return new Block(rewriteNodeList(statements, builder.toLink()));
|
| + return new Block(rewriteNodeList(statements, builder.toLink()),
|
| + block.declarations);
|
| }
|
| }
|
|
|
|
|