Reverse EvalStateData.

This commit is contained in:
Stephen Chung
2021-12-28 12:19:20 +08:00
parent 280010c427
commit 5b667a69b7
4 changed files with 15 additions and 37 deletions

View File

@@ -1046,7 +1046,7 @@ impl Engine {
// IMPORTANT! If the eval defines new variables in the current scope,
// all variable offsets from this point on will be mis-aligned.
if scope.len() != orig_scope_len {
state.data.always_search_scope = true;
state.always_search_scope = true;
}
return result.map_err(|err| {