| Index: lib/compiler/implementation/scanner/parser.dart
|
| diff --git a/lib/compiler/implementation/scanner/parser.dart b/lib/compiler/implementation/scanner/parser.dart
|
| index f43bddc1f2c4955d7476e928f87da1d11bc1d80e..a05394afc82917494cd902b29b25cc4df3dcb7eb 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;
|
|
|