| Index: runtime/vm/parser.cc
|
| diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc
|
| index d15b44f3d63fd0364a4abdd5795d57a911258692..c0e7e6554594525c0f41cb6feca63f2b8f19260e 100644
|
| --- a/runtime/vm/parser.cc
|
| +++ b/runtime/vm/parser.cc
|
| @@ -1834,7 +1834,6 @@ SequenceNode* Parser::ParseFunc(const Function& func,
|
| }
|
| }
|
|
|
| - OpenBlock(); // Open a nested scope for the outermost function block.
|
| if (CurrentToken() == Token::kLBRACE) {
|
| ConsumeToken();
|
| ParseStatementSequence();
|
| @@ -1850,8 +1849,6 @@ SequenceNode* Parser::ParseFunc(const Function& func,
|
| } else {
|
| UnexpectedToken();
|
| }
|
| - SequenceNode* body = CloseBlock();
|
| - current_block_->statements->Add(body);
|
| return CloseBlock();
|
| }
|
|
|
|
|