Rename Imports to GlobalRuntimeState.
This commit is contained in:
@@ -3129,7 +3129,7 @@ fn parse_fn(
|
||||
body,
|
||||
lib: None,
|
||||
#[cfg(not(feature = "no_module"))]
|
||||
mods: crate::engine::Imports::new(),
|
||||
global: crate::engine::GlobalRuntimeState::new(),
|
||||
#[cfg(not(feature = "no_function"))]
|
||||
#[cfg(feature = "metadata")]
|
||||
comments: if comments.is_empty() {
|
||||
@@ -3280,7 +3280,7 @@ fn parse_anon_fn(
|
||||
body: body.into(),
|
||||
lib: None,
|
||||
#[cfg(not(feature = "no_module"))]
|
||||
mods: crate::engine::Imports::new(),
|
||||
global: crate::engine::GlobalRuntimeState::new(),
|
||||
#[cfg(not(feature = "no_function"))]
|
||||
#[cfg(feature = "metadata")]
|
||||
comments: None,
|
||||
|
Reference in New Issue
Block a user