| Index: pkg/front_end/lib/src/fasta/kernel/body_builder.dart
|
| diff --git a/pkg/front_end/lib/src/fasta/kernel/body_builder.dart b/pkg/front_end/lib/src/fasta/kernel/body_builder.dart
|
| index 65f324a8ba4f63c6f4176187e1f10a29838bc4ec..b403485cf958f7ff926a4da6fb66f1e08f8fcba9 100644
|
| --- a/pkg/front_end/lib/src/fasta/kernel/body_builder.dart
|
| +++ b/pkg/front_end/lib/src/fasta/kernel/body_builder.dart
|
| @@ -350,8 +350,8 @@ class BodyBuilder extends ScopeListener<JumpTarget> implements BuilderHelper {
|
| }
|
|
|
| @override
|
| - void endFunctionBody(int count, Token beginToken, Token endToken) {
|
| - debugEvent("FunctionBody");
|
| + void endBlockFunctionBody(int count, Token beginToken, Token endToken) {
|
| + debugEvent("BlockFunctionBody");
|
| if (beginToken == null) {
|
| assert(count == 0);
|
| push(NullValue.Block);
|
| @@ -869,13 +869,13 @@ class BodyBuilder extends ScopeListener<JumpTarget> implements BuilderHelper {
|
| }
|
|
|
| @override
|
| - void endEmptyFunctionBody(Token semicolon) {
|
| + void handleEmptyFunctionBody(Token semicolon) {
|
| debugEvent("ExpressionFunctionBody");
|
| - endFunctionBody(0, null, semicolon);
|
| + endBlockFunctionBody(0, null, semicolon);
|
| }
|
|
|
| @override
|
| - void endExpressionFunctionBody(Token arrowToken, Token endToken) {
|
| + void handleExpressionFunctionBody(Token arrowToken, Token endToken) {
|
| debugEvent("ExpressionFunctionBody");
|
| endReturnStatement(true, arrowToken, endToken);
|
| }
|
|
|