Index: runtime/vm/object.cc |
=================================================================== |
--- runtime/vm/object.cc (revision 28666) |
+++ runtime/vm/object.cc (working copy) |
@@ -9547,6 +9547,9 @@ |
const char* Context::ToCString() const { |
+ if (IsNull()) { |
+ return "Context (Null)"; |
+ } |
const Context& parent_ctx = Context::Handle(parent()); |
if (parent_ctx.IsNull()) { |
const char* kFormat = "Context num_variables:% " Pd ""; |