| Index: runtime/vm/debugger.cc
|
| diff --git a/runtime/vm/debugger.cc b/runtime/vm/debugger.cc
|
| index f7527cd6b654d82e238dd2cfb2ef7ab5c42c2634..ee9c45042b80e3916402de9a6126bf639b543345 100644
|
| --- a/runtime/vm/debugger.cc
|
| +++ b/runtime/vm/debugger.cc
|
| @@ -2144,7 +2144,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(),
|
|
|