Index: pkg/kernel/lib/transformations/mixin_full_resolution.dart |
diff --git a/pkg/kernel/lib/transformations/mixin_full_resolution.dart b/pkg/kernel/lib/transformations/mixin_full_resolution.dart |
index 8d8434778725ea30e098885f62af0cd7eeab1c74..7f200102ee61bad7ff5b1f5c87e14fb76f295ee1 100644 |
--- a/pkg/kernel/lib/transformations/mixin_full_resolution.dart |
+++ b/pkg/kernel/lib/transformations/mixin_full_resolution.dart |
@@ -115,7 +115,7 @@ class MixinFullResolution { |
for (var superclassConstructor in class_.superclass.constructors) { |
var forwardingConstructor = |
buildForwardingConstructor(superclassCloner, superclassConstructor); |
- class_.constructors.add(forwardingConstructor..parent = class_); |
+ class_.addMember(forwardingConstructor); |
} |
} |