nimsuggest: minor bugfix; include file should be dirtied, no the belonging module

This commit is contained in:
Andreas Rumpf
2016-11-06 17:13:40 +01:00
parent 0c49822b50
commit 21288c220a

View File

@@ -158,8 +158,8 @@ proc execute(cmd: IdeCmd, file, dirtyfile: string, line, col: int;
discard "no need to recompile anything"
else:
let modIdx = graph.parentModule(dirtyIdx)
graph.markDirty modIdx
graph.markClientsDirty modIdx
graph.markDirty dirtyIdx
graph.markClientsDirty dirtyIdx
if gIdeCmd != ideMod:
graph.compileProject(cache, modIdx)
if gIdeCmd in {ideUse, ideDus}: