Description
This problem is new for me. I just finished updating my Hasktorch dev environment by bumping the version of ghc to 8.10.4. Before I was using hls 0.7 with Hasktorch, now I've tried both 0.9 and 1.0, but both are suddenly very unstable.
Your environment
Output of haskell-language-server --probe-tools
or haskell-language-server-wrapper --probe-tools
:
haskell-language-server version: 1.0.0.0 (GHC: 8.10.4) (PATH: /nix/store/wsrhqfn07rif6n27qglc3p68kjaflyax-haskell-language-server-exe-haskell-language-server-1.0.0.0/bin/haskell-language-server)
Tool versions found on the $PATH
cabal: 3.2.0.0
stack: 2.5.1
ghc: 8.10.4
Which lsp-client do you use:
vs code
Describe your project (alternative: link to the project):
https://github.com/hasktorch/hasktorch/blob/master/cabal.project
Contents of hie.yaml
:
https://github.com/hasktorch/hasktorch/blob/master/hie.yaml
Steps to reproduce
start vscode from nix shell, work for a few seconds on random things, crash occurs
Expected behaviour
no crash
Actual behaviour
crash
Include debug information
Execute in the root of your project the command haskell-language-server --debug .
and paste the logs here:
Debug output:
the full output is too long to post here. it finishes after a while with:
Completed (36 files worked, 298 files failed)
Paste the logs from the lsp-client, e.g. for VS Code
LSP logs:
likewise, this log is too long. I'll upload a file...