mirror of
https://github.com/nim-lang/Nim.git
synced 2026-08-16 03:48:19 +00:00
make nimsuggest compile again
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user