Remove unnecessary dbg!

This commit is contained in:
Sofia 2025-08-12 20:35:28 +03:00
parent d50a748884
commit 3e85ed2705

View File

@ -348,8 +348,6 @@ impl<'map> Pass for LinkerPass<'map> {
unresolved_types.insert(imported_ty_key.clone(), (meta.clone(), false)); unresolved_types.insert(imported_ty_key.clone(), (meta.clone(), false));
} }
dbg!(&importer_module.module_id, &unresolved_types);
// 3. Recurse these types to find their true sources, find their // 3. Recurse these types to find their true sources, find their
// dependencies, and list them all. Store manually imported types // dependencies, and list them all. Store manually imported types
// in a separate mapping for later. // in a separate mapping for later.
@ -478,7 +476,6 @@ impl<'map> Pass for LinkerPass<'map> {
)); ));
} }
} }
match resolve_types_recursively(&TypeKind::CustomType(ty.clone()), &modules, HashSet::new()) { match resolve_types_recursively(&TypeKind::CustomType(ty.clone()), &modules, HashSet::new()) {
Ok(resolved) => { Ok(resolved) => {
imported_types.extend(resolved); imported_types.extend(resolved);
@ -490,8 +487,6 @@ impl<'map> Pass for LinkerPass<'map> {
} }
} }
dbg!(&imported_types);
// 4. Import all listed types. // 4. Import all listed types.
for (importer_typekey, imported_module_id) in &imported_types { for (importer_typekey, imported_module_id) in &imported_types {
let imported_ty_module = modules.get(&imported_module_id).unwrap().module.borrow(); let imported_ty_module = modules.get(&imported_module_id).unwrap().module.borrow();