| Index: runtime/vm/parser.cc
|
| diff --git a/runtime/vm/parser.cc b/runtime/vm/parser.cc
|
| index e876458bd29e443733cbef9a17a44bf18ca4271e..73e2954da35ec7be83fa90c3f60ebed0b2e7d1a1 100644
|
| --- a/runtime/vm/parser.cc
|
| +++ b/runtime/vm/parser.cc
|
| @@ -1517,7 +1517,9 @@ void Parser::GenerateSuperConstructorCall(const Class& cls,
|
| // Omit the implicit super() if there is no super class (i.e.
|
| // we're not compiling class Object), or if the super class is an
|
| // artificially generated "wrapper class" that has no constructor.
|
| - if (super_class.IsNull() || (super_class.num_native_fields() > 0)) {
|
| + if (super_class.IsNull() ||
|
| + (super_class.num_native_fields() > 0 &&
|
| + Class::Handle(super_class.SuperClass()).IsObjectClass())) {
|
| return;
|
| }
|
| String& ctor_name = String::Handle(super_class.Name());
|
|
|