Closed AmjadHD closed 1 year ago
@PMunch.
Yeah I'm currently debugging a couple issues like this. Seems to be partially caused by the langserver implementation fiddling with the nimsuggest API without ensuring that using it as a library still works..
I'm seeing this on latest stable (1.6.12) as well.
Error: call depth limit reached in a debug build (2000 function calls). You can change it with -d:nimCallDepthLimit=<int> but really try to avoid deep recursions instead.\n"```
This was fixed in https://github.com/nim-lang/Nim/pull/21555. Closing.
nim-lang/Nim@7031ea6 causes nimlsp to crash with recursion limit hit.
https://github.com/nim-lang/Nim/commit/7031ea65cd220360b8e9f566fd28f01bc0bf53c4#diff-a7c8d25cefdf0d3b4d7713ada23b1ec76416139cdaaa9999c0e8ef8fda94cb2aR236-R237. nimsuggest works fine.