| Index: pkg/analyzer/lib/src/generated/ast.dart
|
| diff --git a/pkg/analyzer/lib/src/generated/ast.dart b/pkg/analyzer/lib/src/generated/ast.dart
|
| index 7940662d36610f9447dc5ea6ba2708aeabaa117a..0c5dfc2ee349caf7de041227cd76cfc84de2e307 100644
|
| --- a/pkg/analyzer/lib/src/generated/ast.dart
|
| +++ b/pkg/analyzer/lib/src/generated/ast.dart
|
| @@ -3477,7 +3477,12 @@ class BlockFunctionBody extends FunctionBody {
|
| }
|
|
|
| @override
|
| - Token get beginToken => _block.beginToken;
|
| + Token get beginToken {
|
| + if (keyword != null) {
|
| + return keyword;
|
| + }
|
| + return _block.beginToken;
|
| + }
|
|
|
| /**
|
| * Return the block representing the body of the function.
|
|
|