Index: runtime/vm/object.cc |
diff --git a/runtime/vm/object.cc b/runtime/vm/object.cc |
index 01a65bd1bb52d70251cef2cc9d020766e909cd36..86c1d1e5af27458ab6e7bed1d5d523ce28a49e25 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); |