Closed carbolymer closed 8 months ago
Seems similar to https://github.com/haskell/haskell-language-server/issues/4046
@michaelpj Thanks for linking that issue. I think this one's a duplicate then. I've applied this patch https://github.com/haskell/haskell-language-server/issues/4046#issuecomment-1926242056 and my HLS works again. I'll close this issue in favour of #4046.
Your environment
Which OS do you use?
Which version of GHC do you use and how did you install it?
How is your project built (alternative: link to the project)?
Which LSP client (editor/plugin) do you use?
Which version of HLS do you use and how did you install it?
Have you configured HLS in any way (especially: a
hie.yaml
file)?Steps to reproduce
You need to have
blst
,sodium
andsecp256k1
installed on your system to successfully compilecardano-node
: https://github.com/input-output-hk/cardano-node-wiki/wiki/install#installing-dependenciesClone sample repository with the submodules:
Enable direnv configuration. Build the project.
Open your editor in the
cardano-node
working directory, and open the filecardano-testnet/src/Parsers/Run.hs
. I'm using neovim:Expected behaviour
Diagnostics are eventually shown.
Actual behaviour
Diagnostics are never shown, HLS is stuck on 100% CPU usage.
The issue occurs on HLS >= 2.6. HLS 2.5 + GHC 9.6.3 is working fine.
Debug information
0-haskell-language-server.log