| Index: runtime/vm/debugger_api_impl.cc
|
| diff --git a/runtime/vm/debugger_api_impl.cc b/runtime/vm/debugger_api_impl.cc
|
| index 4b2d3812a5fe5687f2d67355fb686e355ece01c3..5241d344c5db351074fadf84b0a64083390ec9a6 100644
|
| --- a/runtime/vm/debugger_api_impl.cc
|
| +++ b/runtime/vm/debugger_api_impl.cc
|
| @@ -671,7 +671,7 @@ DART_EXPORT Dart_Handle Dart_GetClosureInfo(
|
| if (!instance.IsClosure()) {
|
| return Api::NewError("%s: parameter 0 is not a closure", CURRENT_FUNC);
|
| }
|
| - const Function& func = Function::Handle(Closure::function(instance));
|
| + const Function& func = Function::Handle(Closure::Cast(instance).function());
|
| ASSERT(!func.IsNull());
|
| if (name != NULL) {
|
| *name = Api::NewHandle(T, func.QualifiedUserVisibleName());
|
|
|