| Index: runtime/vm/service.cc
|
| ===================================================================
|
| --- runtime/vm/service.cc (revision 35336)
|
| +++ runtime/vm/service.cc (working copy)
|
| @@ -882,7 +882,10 @@
|
| const String& expr_str = String::Handle(isolate, String::New(expr));
|
| ASSERT(obj.IsInstance());
|
| const Instance& instance = Instance::Cast(obj);
|
| - const Object& result = Object::Handle(instance.Evaluate(expr_str));
|
| + const Object& result =
|
| + Object::Handle(instance.Evaluate(expr_str,
|
| + Array::empty_array(),
|
| + Array::empty_array()));
|
| if (result.IsNull()) {
|
| Object::null_instance().PrintToJSONStream(js, true);
|
| } else {
|
| @@ -931,7 +934,9 @@
|
| return true;
|
| }
|
| const String& expr_str = String::Handle(isolate, String::New(expr));
|
| - const Object& result = Object::Handle(cls.Evaluate(expr_str));
|
| + const Object& result = Object::Handle(cls.Evaluate(expr_str,
|
| + Array::empty_array(),
|
| + Array::empty_array()));
|
| if (result.IsNull()) {
|
| Object::null_instance().PrintToJSONStream(js, true);
|
| } else {
|
| @@ -1123,7 +1128,9 @@
|
| return true;
|
| }
|
| const String& expr_str = String::Handle(isolate, String::New(expr));
|
| - const Object& result = Object::Handle(lib.Evaluate(expr_str));
|
| + const Object& result = Object::Handle(lib.Evaluate(expr_str,
|
| + Array::empty_array(),
|
| + Array::empty_array()));
|
| if (result.IsNull()) {
|
| Object::null_instance().PrintToJSONStream(js, true);
|
| } else {
|
|
|