Applying an hlint quick fix never finishes (better error handling) #646
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 version: 0.6.0.0 (GHC: 8.8.4) (PATH: /home/avh4/.config/VSCodium/User/globalStorage/haskell.haskell/haskell-language-server-0.6.0-linux-8.8.4) (GIT hash: 372a12e797069dc3ac4fa33dcaabe3b992999d7c) Tool versions found on the $PATH cabal: 3.2.0.0 stack: 2.3.3 ghc: 8.8.4
Which lsp-client do you use: VS Codium 1.51.1
Describe your project (alternative: link to the project): single cabal file
Contents of
hie.yaml
:Steps to reproduce
f a = f a
Ctrl-<Period>
and select "Apply hint: Eta reduce"Expected behaviour
The hint should be applied within a 1-2 seconds, or show an error message explaining why it cannot be applied.
Actual behaviour
A popup with an indeterminate progress bar appears and the hint is not applied. The popup remains until cancelled (I have waited several minutes and it still does not complete.)

Include debug information
Execute in the root of your project the command
haskell-language-server --debug .
and paste the logs here:Debug output:
Paste the logs from the lsp-client, e.g. for VS Code
LSP logs:
The text was updated successfully, but these errors were encountered: