| Index: pkg/front_end/lib/src/fasta/source/diet_listener.dart
|
| diff --git a/pkg/front_end/lib/src/fasta/source/diet_listener.dart b/pkg/front_end/lib/src/fasta/source/diet_listener.dart
|
| index 6468ff017d179346bbede9c8679f0f8ab44fde81..e31dbe93d4b463290b813773861258d1014dcfbd 100644
|
| --- a/pkg/front_end/lib/src/fasta/source/diet_listener.dart
|
| +++ b/pkg/front_end/lib/src/fasta/source/diet_listener.dart
|
| @@ -495,7 +495,8 @@ class DietListener extends StackListener {
|
| listener.prepareInitializers();
|
| token = parser.parseInitializersOpt(token);
|
| token = parser.parseAsyncModifier(token);
|
| - AsyncMarker asyncModifier = listener.pop();
|
| + AsyncMarker asyncModifier =
|
| + astKind == AstKind.Analyzer ? null : listener.pop();
|
| bool isExpression = false;
|
| bool allowAbstract = true;
|
| parser.parseFunctionBody(token, isExpression, allowAbstract);
|
|
|