-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
maximum recursion depth exceeded #100
Comments
Thanks for the report. This error usually happens when the language server accidentally produces circular references. For example, |
Many thanks for your prompt reply. The project is private (in fact we are working to make it public) but I can give you access if you have an account at gitlab. |
Great, I'd be happy to take a look. My Gitlab username is the same as my GitHub one. I will also work to add circular reference detection to provide more useful errors in the future. |
Done. I would say there it is not a circular reference issue in the code (BTW, it is a general purpose, fully parallel finite element code if you are interested) but I might be wrong. A couple of comments:
|
It was pretty quick to sort out. The main issue was with circular user-defined type referencing. In this case your code has something like The other issue was a minor parsing bug where As for features, most F2003/08 features that relate to requests supported in the language server protocol should be handled. However, indeed some operator overloading and "generic" features are not. These features should just be ignored though so if you run into issues with them let me know. Also, if there is a particular missing feature you would like feel free to open an issue or contribute a pull request. Thanks again for the report! |
I'm getting these messages when using lsp-mode in Emacs for a large Fortran project:
Installed using
The text was updated successfully, but these errors were encountered: