Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index dc7f3c651a53c2c7be2919a0f2fed096e0a5c5cd..123034e7d549837a741459b4a00fa14b5b0e216f 100644 |
--- a/runtime/vm/object.cc |
+++ b/runtime/vm/object.cc |
@@ -1667,7 +1667,7 @@ void Object::AddCommonObjectProperties(JSONObject* jsobj, |
if (!same_type) { |
jsobj->AddProperty("_vmType", vm_type); |
} |
- if (!ref || IsInstance()) { |
+ if (!ref || IsInstance() || IsNull()) { |
// TODO(turnidge): Provide the type arguments here too? |
const Class& cls = Class::Handle(this->clazz()); |
jsobj->AddProperty("class", cls); |