more item cleanup

This commit is contained in:
nora 2023-08-03 13:50:14 +02:00
parent b021a9e218
commit 73a369730b
12 changed files with 104 additions and 88 deletions

View file

@ -43,7 +43,7 @@ function loadCrate(cx: Context, name: string, span: Span): Map<string, ItemId> {
function resolveModItem(
cx: Context,
mod: (ItemMod<Built> | ItemExtern) & Item<Built>,
mod: ItemMod<Built> | ItemExtern<Built>,
name: string,
): ItemId | undefined {
const cachedContents = cx.modContentsCache.get(mod.id);