Fix no_module build.,

This commit is contained in:
Stephen Chung 2021-02-07 15:52:06 +08:00
parent aafff4fb93
commit f388d22c0f

View File

@ -1868,6 +1868,7 @@ impl Engine {
.into_iter()
.try_fold(Default::default(), |_, stmt| {
match stmt {
#[cfg(not(feature = "no_module"))]
Stmt::Import(_, _, _) => {
// When imports list is modified, clear the functions lookup cache
if has_imports {