| Index: lib/compiler/implementation/ssa/codegen.dart
|
| diff --git a/lib/compiler/implementation/ssa/codegen.dart b/lib/compiler/implementation/ssa/codegen.dart
|
| index df545511e8a36f4336fa1ce8e3f9e2d999ecbce3..e4fa84757ff696d3499d134da6b324fc9eed0d6e 100644
|
| --- a/lib/compiler/implementation/ssa/codegen.dart
|
| +++ b/lib/compiler/implementation/ssa/codegen.dart
|
| @@ -1858,7 +1858,9 @@ class SsaCodeGenerator implements HVisitor, HBlockInformationVisitor {
|
| buffer.add(name);
|
| Type type = node.receiver.propagatedType.computeType(compiler);
|
| if (type != null) {
|
| - world.registerFieldSetter(node.element.name, type);
|
| + if (!work.element.isGenerativeConstructorBody()) {
|
| + world.registerFieldSetter(node.element.name, type);
|
| + }
|
| backend.updateFieldIntegerSetters(node.element,
|
| node.value.isInteger());
|
| }
|
|
|