Move lib into global.

This commit is contained in:
Stephen Chung
2022-11-10 11:49:10 +08:00
parent 3800a6d9f5
commit 3a028f2642
19 changed files with 353 additions and 500 deletions

View File

@@ -2909,14 +2909,8 @@ impl Engine {
let caches = &mut Caches::new();
let mut this = Dynamic::NULL;
let context = EvalContext::new(
self,
&mut state.global,
caches,
&[],
&mut state.stack,
&mut this,
);
let context =
EvalContext::new(self, &mut state.global, caches, &mut state.stack, &mut this);
match filter(false, info, context) {
Ok(true) => (),