Description
Your environment
HLS 0.9.0
Running in a stack project sandbox
Hardware is a MacBookPro (2019) with macOS 11.2
Which lsp-client do you use: VSCode (HLS 0.9.0 is automatically downloaded by
Describe your project (alternative: link to the project):
Fails with all my yesod projects, and the basic scaffold project generated with:
stack new nasty yesodweb/postgres
Steps to reproduce
- Generate a new yesod postgres scaffold project:
stack new nasty yesodweb/postgres
- Open project folder in VSCode and select a .hs file
Hopefully, this is easy to reproduce, given that the entire project can easily be generated from scaffold.
However, I will attempt to narrow the conditions by stripping the project further and will post and insights as addendums.
Expected behaviour
Expected that the metadata would be built successfully and session could continue as normal
Actual behaviour
"Processing" status line message shows stepping though files but resets several times until the final failure notification is displayed and the extension is disabled due to restarts.
Include debug information
Execute in the root of your project the command haskell-language-server --debug .
and paste the logs here:
Debug output:
<paste your logs here>
Paste the logs from the lsp-client, e.g. for VS Code
LSP logs:
<paste your logs here>