nimsuggest: minor bugfix; include file should be dirtied, no the belonging module
This commit is contained in:
parent
0c49822b50
commit
21288c220a
1 changed files with 2 additions and 2 deletions
|
|
@ -158,8 +158,8 @@ proc execute(cmd: IdeCmd, file, dirtyfile: string, line, col: int;
|
||||||
discard "no need to recompile anything"
|
discard "no need to recompile anything"
|
||||||
else:
|
else:
|
||||||
let modIdx = graph.parentModule(dirtyIdx)
|
let modIdx = graph.parentModule(dirtyIdx)
|
||||||
graph.markDirty modIdx
|
graph.markDirty dirtyIdx
|
||||||
graph.markClientsDirty modIdx
|
graph.markClientsDirty dirtyIdx
|
||||||
if gIdeCmd != ideMod:
|
if gIdeCmd != ideMod:
|
||||||
graph.compileProject(cache, modIdx)
|
graph.compileProject(cache, modIdx)
|
||||||
if gIdeCmd in {ideUse, ideDus}:
|
if gIdeCmd in {ideUse, ideDus}:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue