Refactor and add state to debugger.

This commit is contained in:
Stephen Chung
2022-01-28 18:59:18 +08:00
parent 20baae71d4
commit 66af69aaff
30 changed files with 693 additions and 624 deletions

View File

@@ -3450,9 +3450,9 @@ impl Engine {
{
let mut m = crate::Module::new();
_lib.into_iter().for_each(|fn_def| {
for fn_def in _lib {
m.set_script_fn(fn_def);
});
}
return Ok(AST::new(statements, m));
}