summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorPeter Munch-Ellingsen <peterme@peterme.net>2023-03-20 22:43:42 +0100
committerGitHub <noreply@github.com>2023-03-20 22:43:42 +0100
commitc155e20796a6c1d2d290f76cbc55c3fe872ff86b (patch)
treeaa0e87a4aebd13e29a74e3807dfbe1ca41e7749e
parent274d61865f53e4146518a1f54465785595052ffe (diff)
downloadNim-c155e20796a6c1d2d290f76cbc55c3fe872ff86b.tar.gz
Fix infinite recursion introduced in 7031ea6 [backport 1.6] (#21555)
Fix infinite recursion introduced in 7031ea6
-rw-r--r--nimsuggest/nimsuggest.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/nimsuggest/nimsuggest.nim b/nimsuggest/nimsuggest.nim
index ce9681975..685dbedb8 100644
--- a/nimsuggest/nimsuggest.nim
+++ b/nimsuggest/nimsuggest.nim
@@ -234,7 +234,7 @@ proc executeNoHooks(cmd: IdeCmd, file, dirtyfile: AbsoluteFile, line, col: int,
       localError(conf, conf.m.trackPos, "found no symbol at this position " & (conf $ conf.m.trackPos))
 
 proc executeNoHooks(cmd: IdeCmd, file, dirtyfile: AbsoluteFile, line, col: int, graph: ModuleGraph) =
-  executeNoHooks(cmd, file, dirtyfile, line, col, graph)
+  executeNoHooks(cmd, file, dirtyfile, line, col, "", graph)
 
 proc execute(cmd: IdeCmd, file, dirtyfile: AbsoluteFile, line, col: int; tag: string,
              graph: ModuleGraph) =