async calls find calls WIP

This commit is contained in:
Dmitry Vasilev
2022-11-23 18:03:00 +08:00
parent 41ebe9d96e
commit 7fa3e78db3
3 changed files with 102 additions and 4 deletions

View File

@@ -630,7 +630,10 @@ export const find_call = (state, index) => {
}
const loc = {index: node.index, module: state.current_module}
const {calltree, call} = state.calltree_actions.find_call(loc)
const {calltree, call} = state.calltree_actions.find_call(
loc,
get_async_calls(state)
)
if(call == null) {
return add_calltree_node_by_loc(
// Remove active_calltree_node