Streamine StmtBlock.

This commit is contained in:
Stephen Chung
2021-04-16 13:15:11 +08:00
parent 980a13ca42
commit 1f987ec61a
5 changed files with 173 additions and 137 deletions

View File

@@ -540,7 +540,7 @@ impl Engine {
}
// Evaluate the function
let body = &fn_def.body.0;
let body = &fn_def.body;
let result = self
.eval_stmt_block(scope, mods, state, unified_lib, this_ptr, body, true, level)