| Index: runtime/vm/kernel_to_il.cc
|
| diff --git a/runtime/vm/kernel_to_il.cc b/runtime/vm/kernel_to_il.cc
|
| index 8e251bbee1a45bc62689bff6f61a552e9b305773..5b537bb6f75d5182dd1559a7f6fb2343d38bb143 100644
|
| --- a/runtime/vm/kernel_to_il.cc
|
| +++ b/runtime/vm/kernel_to_il.cc
|
| @@ -6131,7 +6131,8 @@ Fragment FlowGraphBuilder::TranslateFunctionNode(FunctionNode* node,
|
| // NOTE: This is not TokenPosition in the general sense!
|
| function = Function::NewClosureFunction(
|
| *name, parsed_function_->function(), position);
|
| - function.set_is_debuggable(node->debuggable());
|
| + function.set_is_debuggable(node->original_async_marker() ==
|
| + FunctionNode::kSync);
|
| function.set_end_token_pos(node->end_position());
|
| LocalScope* scope = scopes_->function_scopes[i].scope;
|
| const ContextScope& context_scope =
|
|
|