mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
fix select_error
This commit is contained in:
@@ -866,7 +866,7 @@ const select_error = state => {
|
|||||||
throw new Error('illegal state: error origin not found')
|
throw new Error('illegal state: error origin not found')
|
||||||
}
|
}
|
||||||
|
|
||||||
const next = expand_path(add_frame(state, error_origin), error_origin)
|
const next = expand_path(jump_calltree_node(state, error_origin), error_origin)
|
||||||
const frame = active_frame(next)
|
const frame = active_frame(next)
|
||||||
const error_node = find_error_origin_node(frame)
|
const error_node = find_error_origin_node(frame)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user