Index: pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart |
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart |
index 34504be873d92bd2f9976615285546a56347b88e..7e8fd9126f660acd977adb6a42eccf29accfacc3 100644 |
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart |
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_shadow_ast.dart |
@@ -1357,8 +1357,8 @@ class KernelMethodInvocation extends MethodInvocation |
/// |
/// let f = () { ... } in f |
class KernelNamedFunctionExpression extends Let implements KernelExpression { |
- KernelNamedFunctionExpression(VariableDeclaration variable, Expression body) |
- : super(variable, body); |
+ KernelNamedFunctionExpression(VariableDeclaration variable) |
+ : super(variable, new VariableGet(variable)); |
@override |
void _collectDependencies(KernelDependencyCollector collector) { |