| Index: runtime/vm/debugger.cc
|
| diff --git a/runtime/vm/debugger.cc b/runtime/vm/debugger.cc
|
| index ccb6050042108db2201bb2b696ce4f5cd7a97c90..2d824a352fa0f397352c96b364f8be94e15b8686 100644
|
| --- a/runtime/vm/debugger.cc
|
| +++ b/runtime/vm/debugger.cc
|
| @@ -2146,7 +2146,7 @@ Breakpoint* Debugger::SetBreakpointAtActivation(const Instance& closure) {
|
| if (!closure.IsClosure()) {
|
| return NULL;
|
| }
|
| - const Function& func = Function::Handle(Closure::function(closure));
|
| + const Function& func = Function::Handle(Closure::Cast(closure).function());
|
| const Script& script = Script::Handle(func.script());
|
| BreakpointLocation* bpt_location = SetBreakpoint(script,
|
| func.token_pos(),
|
|
|