Fix bug in internals.

This commit is contained in:
Stephen Chung 2021-01-23 10:34:38 +08:00
parent 3b42cc5bb2
commit 049f472ac9

View File

@ -120,6 +120,7 @@ impl<'e, 'n, 's, 'a, 'm, 'pm> NativeCallContext<'e, 'n, 's, 'a, 'm, 'pm> {
) -> Self { ) -> Self {
Self { Self {
engine, engine,
fn_name,
source: source.clone(), source: source.clone(),
mods: Some(imports), mods: Some(imports),
lib: lib.as_ref(), lib: lib.as_ref(),