HLS >= 2.6 never prints any diagnostics for a bigger project #4108
Labels
status: needs triage
type: bug
Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
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.
cd fusion-flamingo direnv allow cabal build all
Open your editor in the
cardano-node
working directory, and open the filecardano-testnet/src/Parsers/Run.hs
. I'm using neovim:cd cardano-node nvim cardano-testnet/src/Parsers/Run.hs
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
The text was updated successfully, but these errors were encountered: