-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
1.6.1.0 cli execution doesn't work #2672
Comments
I can reproduce it on the cli as described, but in VSCode everything seems to be fine 0.o. |
Has calling the cli perhaps gotten more complicated in some way? (some env needs to be provided etc) |
@googleson78 does it work for you in the editor? |
Yup, thanks. I didn't even try it in an editor when I saw the cli invocation doesn't work tbh. I rely on the cli invocation to provide debug info and to also troubleshoot issues if something isn't working from inside my editor. What do I need to do to be able to use it? |
It should work, so there is at least one bug somewhere. I can trigger the same error on the hie-bios code-base, but everything seems to load fine, so this is likely to be a bug in the cli loader. |
FYI I also am hitting this bug and am not using polysemy:
|
I am also getting this error message independent of
|
I amended the title to represent the fact that this seems independent of polysemy. |
Same here, no Polysemy either, although in my case I can no longer get it to work with any editor. Edit: |
This bug happens only if you don't run in lsp mode. The reason is here:
Fix is here: #2719 You can build and fix locally via ghcup:
|
Your environment
Which OS do you use:
Debian testing
Which LSP client (editor/plugin) do you use:
Raw invocation
Describe your project (alternative: link to the project):
https://github.com/polysemy-research/polysemy
HLS 1.6.1.0 from ghcup
> haskell-language-server-wrapper --version haskell-language-server version: 1.6.1.0 (GHC: 8.10.7) (PATH: /home/googleson78/.ghcup/bin/haskell-language-server-wrapper-1.6.1.0) (GIT hash: f4022c5bb8530cd306c53b941878244bf27a5d41)
Steps to reproduce
Clone the project and run
haskell-language-server-wrapper
Expected behaviour
Loads the project.
Actual behaviour
Fails with multiple instances of something like
Include debug information
hls.log
hls-stderr.log
The text was updated successfully, but these errors were encountered: