-
-
Notifications
You must be signed in to change notification settings - Fork 389
Eval plugin appears to stop working after a function def that has more than one pattern match #3312
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
Here're the logs from the language server and from the client from the following experiment:
|
Maybe it's the same problem with a newline at the end of the file? #3500 |
This looks like the same issue as: |
I am having the same issue what was the resolution? |
This continues to be unresolved - any clues? The eval functionality is extremely helpful for teaching - you can leave examples with expected output for students, and they can easily run pseudo-unit tests to verify that their program works for those cases |
@googleson78 FYI, this seems resolved on the HLS 2.5.0.0. |
This issue has been fixed by #4113 |
Your environment
Which OS do you use?
NixOS
Which version of GHC do you use and how did you install it?
via nix
How is your project built (alternative: link to the project)?
No project
Which LSP client (editor/plugin) do you use?
Neovim+LanguageClient-neovim
Which version of HLS do you use and how did you install it?
via
nix-shell -p haskell.packages.ghc924.haskell-language-server
Have you configured HLS in any way (especially: a
hie.yaml
file)?No
Steps to reproduce
For the following file
The
Evaluate...
code lens pops up. However, for the following fileit doesn't.
The thing that triggers this issue appears to be any multiline (more than one match) function definition.
This issue does not reproduce if we're using an hls built with 9.0.2
The text was updated successfully, but these errors were encountered: