| Index: lib/compiler/implementation/scanner/parser.dart
|
| diff --git a/lib/compiler/implementation/scanner/parser.dart b/lib/compiler/implementation/scanner/parser.dart
|
| index a7899f9cdf61c020b04a3ab7d7c4b4e4fc871b1b..5c7e6aa8b585319b40e800f4a6990453f8f6fdb4 100644
|
| --- a/lib/compiler/implementation/scanner/parser.dart
|
| +++ b/lib/compiler/implementation/scanner/parser.dart
|
| @@ -727,12 +727,12 @@ class Parser {
|
| }
|
| Token begin = token;
|
| int statementCount = 0;
|
| - listener.beginFunctionBody(begin);
|
| if (!optional('{', token)) {
|
| return listener.expectedFunctionBody(token);
|
| - } else {
|
| - token = token.next;
|
| }
|
| +
|
| + listener.beginFunctionBody(begin);
|
| + token = token.next;
|
| while (notEofOrValue('}', token)) {
|
| token = parseStatement(token);
|
| ++statementCount;
|
|
|