mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-14 05:14:28 -08:00
fix bug
This commit is contained in:
@@ -331,8 +331,6 @@ export const eval_modules = (
|
||||
// TODO use native array for stack for perf? stack contains booleans
|
||||
stack: new Array(),
|
||||
|
||||
logs: [],
|
||||
|
||||
searched_location: location,
|
||||
found_call: null,
|
||||
|
||||
|
||||
@@ -44,10 +44,12 @@ const do_run = function*(module_fns, cxt, io_trace){
|
||||
cxt = (io_trace == null || io_trace.length == 0)
|
||||
// TODO group all io_trace_ properties to single object?
|
||||
? {...cxt,
|
||||
logs: [],
|
||||
io_trace_is_recording: true,
|
||||
io_trace: [],
|
||||
}
|
||||
: {...cxt,
|
||||
logs: [],
|
||||
io_trace_is_recording: false,
|
||||
io_trace,
|
||||
io_trace_is_replay_aborted: false,
|
||||
|
||||
Reference in New Issue
Block a user