Split Engine into eval folder.

This commit is contained in:
Stephen Chung
2022-01-07 11:43:47 +08:00
parent ad0f7b7ce9
commit a267ac5e54
22 changed files with 3413 additions and 3299 deletions

View File

@@ -1554,7 +1554,7 @@ impl Module {
engine: &crate::Engine,
) -> RhaiResultOf<Self> {
let mut scope = scope;
let mut global = crate::engine::GlobalRuntimeState::new();
let mut global = crate::eval::GlobalRuntimeState::new();
let orig_mods_len = global.num_imported_modules();
// Run the script