Index: pkg/compiler/lib/src/parser/node_listener.dart |
diff --git a/pkg/compiler/lib/src/parser/node_listener.dart b/pkg/compiler/lib/src/parser/node_listener.dart |
index 2bf9326629df39aa1a33e036d5e4da6090dc469e..fd3e1329abc60842171695242751ec47632c24f2 100644 |
--- a/pkg/compiler/lib/src/parser/node_listener.dart |
+++ b/pkg/compiler/lib/src/parser/node_listener.dart |
@@ -302,6 +302,10 @@ class NodeListener extends ElementListener { |
pushNode(new RedirectingFactoryBody(beginToken, endToken, popNode())); |
} |
+ void endExpressionFunctionBody(Token arrowToken, Token endToken) { |
+ endReturnStatement(true, arrowToken, endToken); |
+ } |
+ |
@override |
void endReturnStatement( |
bool hasExpression, Token beginToken, Token endToken) { |