Fix no_module build.

This commit is contained in:
Stephen Chung
2022-11-04 22:00:21 +08:00
parent 470af6af71
commit 54aa89515e
2 changed files with 4 additions and 3 deletions

View File

@@ -68,7 +68,9 @@ impl Engine {
self.search_scope_only(global, caches, lib, level, scope, this_ptr, expr)
}
#[cfg(feature = "no_module")]
(_, (), ..) => self.search_scope_only(scope, global, lib, this_ptr, expr),
(_, (), ..) => {
self.search_scope_only(global, caches, lib, level, scope, this_ptr, expr)
}
// Qualified variable access
#[cfg(not(feature = "no_module"))]