| Index: runtime/vm/debugger_api_impl.cc
|
| diff --git a/runtime/vm/debugger_api_impl.cc b/runtime/vm/debugger_api_impl.cc
|
| index 829f0f5c12d9f73c8b3b075b5f1d238aaee9fe4b..f98b60a12df313d834544583d3a764d210e78637 100644
|
| --- a/runtime/vm/debugger_api_impl.cc
|
| +++ b/runtime/vm/debugger_api_impl.cc
|
| @@ -568,7 +568,9 @@ DART_EXPORT Dart_Handle Dart_EvaluateExpr(Dart_Handle target_in,
|
| Array::empty_array()));
|
| } else if (target.IsInstance()) {
|
| const Instance& inst = Instance::Cast(target);
|
| - return Api::NewHandle(T, inst.Evaluate(expr,
|
| + const Class& receiver_cls = Class::Handle(Z, inst.clazz());
|
| + return Api::NewHandle(T, inst.Evaluate(receiver_cls,
|
| + expr,
|
| Array::empty_array(),
|
| Array::empty_array()));
|
| } else if (target.IsLibrary()) {
|
|
|