Optimize Scope.

This commit is contained in:
Stephen Chung
2020-11-01 22:46:46 +08:00
parent 3485f9b00b
commit c55fc5a9a5
5 changed files with 109 additions and 146 deletions

View File

@@ -2070,7 +2070,7 @@ impl Engine {
} else {
unsafe_cast_var_name_to_lifetime(&var_def.name).into()
};
scope.push_dynamic_value(var_name, entry_type, val, false);
scope.push_dynamic_value(var_name, entry_type, val);
Ok(Default::default())
}