Index: pkg/front_end/lib/src/fasta/kernel/kernel_target.dart |
diff --git a/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart b/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart |
index 8dcdef41a5285817b78f62670ef1412379af48f9..eb8fb960a849c9c99619fcf836d800884dcfe229 100644 |
--- a/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart |
+++ b/pkg/front_end/lib/src/fasta/kernel/kernel_target.dart |
@@ -562,7 +562,8 @@ class KernelTarget extends TargetImplementation { |
initializer = new InvalidInitializer(); |
} else { |
initializer = |
- new SuperInitializer(superTarget, new Arguments.empty()); |
+ new SuperInitializer(superTarget, new Arguments.empty()) |
+ ..isSynthetic = true; |
} |
constructor.initializers.add(initializer); |
initializer.parent = constructor; |
@@ -617,7 +618,8 @@ class KernelTarget extends TargetImplementation { |
for (Field field in initializedFields.difference(fields.toSet())) { |
if (field.initializer == null) { |
FieldInitializer initializer = |
- new FieldInitializer(field, new NullLiteral()); |
+ new FieldInitializer(field, new NullLiteral()) |
+ ..isSynthetic = true; |
initializer.parent = constructor; |
constructor.initializers.insert(0, initializer); |
} |