Add Dynamic::NULL to simplify this pointer binding.

This commit is contained in:
Stephen Chung
2022-11-08 16:16:42 +08:00
parent 6053aa1641
commit 8f128f37f0
16 changed files with 126 additions and 77 deletions

View File

@@ -2907,7 +2907,7 @@ impl Engine {
will_shadow,
};
let caches = &mut Caches::new();
let this_ptr = &mut None;
let mut this = Dynamic::NULL;
let context = EvalContext::new(
self,
@@ -2916,7 +2916,7 @@ impl Engine {
&[],
level,
&mut state.stack,
this_ptr,
&mut this,
);
match filter(false, info, context) {