Index: runtime/vm/object_service.cc |
diff --git a/runtime/vm/object_service.cc b/runtime/vm/object_service.cc |
index ba631346ec4cb2192ad158767cf29faec4cf8ed7..73e2b8764250af6152b318a6a70d6e9f083d3e9f 100644 |
--- a/runtime/vm/object_service.cc |
+++ b/runtime/vm/object_service.cc |
@@ -101,10 +101,19 @@ void Class::PrintJSONImpl(JSONStream* stream, bool ref) const { |
jsobj.AddProperty("_implemented", is_implemented()); |
jsobj.AddProperty("_patch", is_patch()); |
jsobj.AddProperty("_traceAllocations", TraceAllocation(isolate)); |
+ |
const Class& superClass = Class::Handle(SuperClass()); |
if (!superClass.IsNull()) { |
jsobj.AddProperty("super", superClass); |
} |
+ const AbstractType& superType = AbstractType::Handle(super_type()); |
+ if (!superType.IsNull()) { |
+ jsobj.AddProperty("superType", superType); |
+ } |
+ const Type& mix = Type::Handle(mixin()); |
+ if (!mix.IsNull()) { |
+ jsobj.AddProperty("mixin", mix); |
+ } |
jsobj.AddProperty("library", Object::Handle(library())); |
const Script& script = Script::Handle(this->script()); |
if (!script.IsNull()) { |