hotkey to select error origin

This commit is contained in:
Dmitry Vasilev
2023-10-26 09:41:17 +08:00
parent 8c9068aeb0
commit f93287abd0
5 changed files with 63 additions and 2 deletions

View File

@@ -145,8 +145,9 @@ export const find_node = (node, pred) => {
)
}
// TODO refactor, have explicit information if node is error origin, without
// guessing. See also color.js
// TODO refactor, at eval.js we have explicit information if node is error
// origin, without guessing. See also color.js
// TODO result is ok, but value is rejected promise
// TODO check if return result is null and throw early
export const find_error_origin_node = node =>
find_node(