-
-
Notifications
You must be signed in to change notification settings - Fork 389
hls consistently crashes on eval code lens #2747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Any idea of what has changed in the last few weeks? |
Same issue here, running Fedora 35, GHC 8.6.5 and HLS 1.6.1 (also happens on 1.5.1). Related: #2363 |
Not really. It might have stopped working after a GHC update, but I only updated HLS after the code lenses stopped working. |
Any news on this one? I changed GHC versions but I still get the same issue. |
I am also still struggling with this, see issue #2363 |
Could you try building HLS locally, either from Hackage (works only for ghc 8.x) or HEAD, and let us know if that helps? |
Sorry for never following up on this. The behaviour simply disappeared one day, even though I did not make any changes to my system (no OS updates, no ghcup updates, no cabal updates). So I can unfortunately no longer reproduce this. |
Then let's close, optimistically :) |
Your environment
OS: arch linux 5.16.10
LSP client: neovim nightly built-in LSP client
HLS version: from package haskell-language-server-static 1.6.1.0-1 at the AUR
GHC version: 9.0.2
Steps to reproduce
Create a file with the following contents:
Evaluate the code lens from the eval plugin.
Expected behaviour
A new line should be inserted with the result:
Actual behaviour
HLS crashes. Until a few weeks ago, the eval plugin worked flawlessly. Now HLS basically always crashes when executing an eval code lens, with some rare exceptions. However, the action is always completed normally if the expression raises an exception:
Include debug information
After triggering the code lens:
The text was updated successfully, but these errors were encountered: