mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
fix deferred call bug
This commit is contained in:
@@ -4776,7 +4776,9 @@ const y = x()`
|
||||
inc()
|
||||
`
|
||||
|
||||
const {state: i, on_deferred_call} = test_deferred_calls_state(code)
|
||||
const {state: i, on_deferred_call} = test_deferred_calls_state(code, code.indexOf('let x'))
|
||||
|
||||
assert_value_explorer(i, 0)
|
||||
|
||||
// Make deferred call
|
||||
i.modules[''].inc()
|
||||
|
||||
Reference in New Issue
Block a user