diff options
author | Juan M Gómez <info@jmgomez.me> | 2023-10-08 19:22:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-08 20:22:35 +0200 |
commit | c3774c8821cc25187252491b4514235b9a8f1aac (patch) | |
tree | b2379166df99f7c3908a8735c39e2aa6ce4b0eab | |
parent | 5bcea05cafb2a655ed1dd44544998eac5bed7c7f (diff) | |
download | Nim-c3774c8821cc25187252491b4514235b9a8f1aac.tar.gz |
fixes nimsuggest false error on lifetime tracking hook fixes #22794 (#22805)
fixes #22794 Not sure if it's too much.
-rw-r--r-- | compiler/modulegraphs.nim | 1 |
1 files changed, 1 insertions, 0 deletions
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) = |