From c3774c8821cc25187252491b4514235b9a8f1aac Mon Sep 17 00:00:00 2001 From: Juan M Gómez Date: Sun, 8 Oct 2023 19:22:35 +0100 Subject: fixes nimsuggest false error on lifetime tracking hook fixes #22794 (#22805) fixes #22794 Not sure if it's too much. --- compiler/modulegraphs.nim | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/modulegraphs.nim') diff --git a/compiler/modulegraphs.nim b/compiler/modulegraphs.nim index baedad0af..4dadb45b6 100644 --- a/compiler/modulegraphs.nim +++ b/compiler/modulegraphs.nim @@ -582,6 +582,7 @@ proc markDirty*(g: ModuleGraph; fileIdx: FileIndex) = if m != nil: g.suggestSymbols.del(fileIdx) g.suggestErrors.del(fileIdx) + g.resetForBackend incl m.flags, sfDirty proc unmarkAllDirty*(g: ModuleGraph) = -- cgit 1.4.1-2-gfad0