Index: runtime/vm/object_service.cc |
diff --git a/runtime/vm/object_service.cc b/runtime/vm/object_service.cc |
index 578d97aa1b13d4b47d4c7eadfccfd13fed78bab3..b1a87ab4fa0ee10eedebf24c8cfb5a32fe8475b7 100644 |
--- a/runtime/vm/object_service.cc |
+++ b/runtime/vm/object_service.cc |
@@ -736,8 +736,9 @@ void LocalVarDescriptors::PrintJSONImpl(JSONStream* stream, |
JSONObject var(&members); |
var.AddProperty("name", var_name.ToCString()); |
var.AddProperty("index", static_cast<intptr_t>(info.index())); |
- var.AddProperty("beginPos", info.begin_pos); |
- var.AddProperty("endPos", info.end_pos); |
+ var.AddProperty("declarationTokenPos", info.declaration_pos); |
+ var.AddProperty("scopeStartTokenPos", info.begin_pos); |
+ var.AddProperty("scopeEndTokenPos", info.end_pos); |
var.AddProperty("scopeId", static_cast<intptr_t>(info.scope_id)); |
var.AddProperty("kind", KindToCString(info.kind())); |
} |