| Index: runtime/vm/class_finalizer.cc
|
| diff --git a/runtime/vm/class_finalizer.cc b/runtime/vm/class_finalizer.cc
|
| index 1db6629772b285c9dd4c0405e3d57021a52ef494..f1c3ffc618fe7c9aec21ee40485b19aeaaf9a49f 100644
|
| --- a/runtime/vm/class_finalizer.cc
|
| +++ b/runtime/vm/class_finalizer.cc
|
| @@ -2429,7 +2429,7 @@ void ClassFinalizer::ApplyMixinMembers(const Class& cls) {
|
| cloned_funcs.Add(func);
|
| }
|
| }
|
| - functions = Array::MakeFixedLength(cloned_funcs);
|
| + functions = Array::MakeArray(cloned_funcs);
|
| cls.SetFunctions(functions);
|
|
|
| // Now clone the fields from the mixin class. There should be no
|
| @@ -2666,8 +2666,7 @@ void ClassFinalizer::FinalizeClass(const Class& cls) {
|
| const Class& mixin_cls = Class::Handle(mixin_type.type_class());
|
|
|
| CreateForwardingConstructors(cls, mixin_cls, cloned_funcs);
|
| - const Array& functions =
|
| - Array::Handle(Array::MakeFixedLength(cloned_funcs));
|
| + const Array& functions = Array::Handle(Array::MakeArray(cloned_funcs));
|
| cls.SetFunctions(functions);
|
| }
|
| // Every class should have at least a constructor, unless it is a top level
|
|
|