| Index: pkg/front_end/lib/src/fasta/parser/parser.dart
|
| diff --git a/pkg/front_end/lib/src/fasta/parser/parser.dart b/pkg/front_end/lib/src/fasta/parser/parser.dart
|
| index 4b24296358c7d77db910c1721c10d482b71aec53..3388c86c2a7f1d6e98dc9e1273acabd136cb7c07 100644
|
| --- a/pkg/front_end/lib/src/fasta/parser/parser.dart
|
| +++ b/pkg/front_end/lib/src/fasta/parser/parser.dart
|
| @@ -2007,14 +2007,16 @@ class Parser {
|
| if (identical(value, '=>')) {
|
| token = parseExpression(token.next);
|
| expectSemicolon(token);
|
| + listener.handleFunctionBodySkipped(token, true);
|
| } else if (identical(value, '=')) {
|
| reportRecoverableError(token, ErrorKind.ExpectedBody);
|
| token = parseExpression(token.next);
|
| expectSemicolon(token);
|
| + listener.handleFunctionBodySkipped(token, true);
|
| } else {
|
| token = skipBlock(token);
|
| + listener.handleFunctionBodySkipped(token, false);
|
| }
|
| - listener.handleFunctionBodySkipped(token);
|
| }
|
| return token;
|
| }
|
|
|