Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
Jess Frazelle
2025-04-05 10:20:35 -07:00
parent 8ce175f006
commit e943303434
2 changed files with 5 additions and 2 deletions

View File

@ -224,6 +224,7 @@ impl ExecutorContext {
match &import_stmt.selector {
ImportSelector::List { items } => {
println!("Importing items from module {}", import_stmt.path,);
let (env_ref, module_exports) =
self.exec_module_for_items(module_id, exec_state, source_range).await?;
for import_item in items {
@ -266,6 +267,7 @@ impl ExecutorContext {
}
}
ImportSelector::Glob(_) => {
println!("Importing all items from module {}", import_stmt.path);
let (env_ref, module_exports) =
self.exec_module_for_items(module_id, exec_state, source_range).await?;
for name in module_exports.iter() {