Index: runtime/vm/service_event.cc |
diff --git a/runtime/vm/service_event.cc b/runtime/vm/service_event.cc |
index 070125d6f299f7f4cf83a5c23ff1963874633da7..285e0d2b1dcc4e99d30f0ffe5f39423f4e751624 100644 |
--- a/runtime/vm/service_event.cc |
+++ b/runtime/vm/service_event.cc |
@@ -102,6 +102,8 @@ void ServiceEvent::PrintJSON(JSONStream* js) const { |
if (top_frame() != NULL) { |
JSONObject jsFrame(&jsobj, "topFrame"); |
top_frame()->PrintToJSONObject(&jsFrame); |
+ intptr_t index = 0; // Avoid ambiguity in call to AddProperty. |
+ jsFrame.AddProperty("index", index); |
} |
if (exception() != NULL) { |
jsobj.AddProperty("exception", *(exception())); |