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 8c96d393783ad53ba4043da27a4b8a9d02cef848..58a8ff93caf764024a1ad7df87b417edcbb576df 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 |
@@ -281,6 +281,11 @@ abstract class KernelComplexAssignment extends Expression |
KernelComplexAssignment(this.rhs); |
+ void set parent(TreeNode node) { |
+ super.parent = node; |
+ desugared?.parent = node; |
+ } |
+ |
@override |
accept(ExpressionVisitor v) => desugared.accept(v); |