HLS hangs when given an invalid hlint annotation #1908
Labels
component: hls-hlint-plugin
type: bug
Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Your environment
Output of
haskell-language-server --probe-tools
orhaskell-language-server-wrapper --probe-tools
:❯ haskell-language-server-wrapper --probe-tools haskell-language-server version: 1.1.0.0 (GHC: 8.10.4) (PATH: /nix/store/yc9ljhg8fgb8k8zjlgid04qkq3ffzm5s-haskell-language-server-1.1.0.0/bin/haskell-language-server-wrapper) Tool versions found on the $PATH cabal: 3.4.0.0 stack: Not found ghc: 8.10.4
Which OS do you use:
Which lsp-client do you use: coc.nvim in neovim on nixos
Describe your project (alternative: link to the project): this commit expipiplus1/fourmolu@6091ab4#diff-7db35ce2b13b8bb7dc43a789dc3cf6074abe57a77051f98a5e7090a09bb6b206R42
Contents of
hie.yaml
:Steps to reproduce
Clone fourmolu at this commit expipiplus1/fourmolu@6091ab4#diff-7db35ce2b13b8bb7dc43a789dc3cf6074abe57a77051f98a5e7090a09bb6b206R42
Expected behaviour
hls should terminate
Actual behaviour
haskell-language-server
doesn't terminate, the last message is(not the misspelled 'ignore')
It does respond to SIGTERM
Include debug information
Execute in the root of your project the command
haskell-language-server --debug .
and paste the logs here:https://gist.github.com/2e49d2524c9faaa638bebaa919943c82
Things work correctly when 'ignore' is spelled correctly.
The text was updated successfully, but these errors were encountered: