Fix no_module build.

This commit is contained in:
Stephen Chung 2022-02-04 23:08:09 +08:00
parent 40bec9f017
commit 6a740a9fa1

View File

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