make nimsuggest compile again

This commit is contained in:
araq
2026-01-14 12:33:07 +01:00
parent 0b3a0b5527
commit 5db6e70736

View File

@@ -237,7 +237,7 @@ proc clearInstCache(graph: ModuleGraph, projectFileIdx: FileIndex) =
for tbl in mitems(graph.attachedOps):
var attachedOpsToDelete = newSeq[ItemId]()
for id in tbl.keys:
if id.module == projectFileIdx.int and sfOverridden in resolveAttachedOp(graph, tbl[id]).flags:
if id.module == projectFileIdx.int and sfOverridden in tbl[id].flags:
attachedOpsToDelete.add id
for id in attachedOpsToDelete:
tbl.del id