Add test for call_fn_raw.

This commit is contained in:
Stephen Chung
2021-12-19 23:22:14 +08:00
parent 123012404b
commit 5729f0cdd4
2 changed files with 30 additions and 1 deletions

View File

@@ -159,7 +159,6 @@ impl Engine {
let orig_scope_len = scope.len();
if eval_ast && !statements.is_empty() {
// Make sure new variables introduced at global level do not _spill_ into the function call
self.eval_global_statements(scope, mods, state, statements, &[ast.as_ref()], 0)?;
if rewind_scope {