nimsuggest: minor bugfix; include file should be dirtied, no the belonging module
This commit is contained in:
parent
2caf08855f
commit
2f7c2de1c2
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"
|
||||
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}:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue