This commit is contained in:
Dmitry Vasilev
2023-11-24 11:12:23 +08:00
parent 22fba0c6d6
commit 53182e43a3

View File

@@ -234,7 +234,9 @@ export const do_eval_expand_calltree_node = (cxt, node) => {
if(node.fn.__location != null) {
// fn is hosted, it created call, this time with children
const result = children[0]
result.id = node.id
if(result.id != node.id) {
throw new Error('illegal state')
}
result.children = cxt.prev_children
result.has_more_children = false
return result