sync works

This commit is contained in:
Dmitry Vasilev
2023-02-04 23:31:20 +08:00
parent 28d5776219
commit 9d4f5e792f
2 changed files with 102 additions and 96 deletions

View File

@@ -2283,11 +2283,11 @@ const y = x()`
assert_equal(s3.current_calltree_node.toplevel, true)
// Go back to fn
assert_equal(s3.calltree_actions == null, false)
assert_equal(s3.eval_cxt == null, false)
const s4 = COMMANDS.move_cursor(
{...s3,
// Set calltree_actions to null, ensure it would not be called again
calltree_actions: null
// Set eval_cxt to null, ensure eval would not be called again
eval_cxt: null
},
code.indexOf('1')
)