-
-
Notifications
You must be signed in to change notification settings - Fork 389
Properly import data constructors #1210
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
Maybe related with this merged PR? |
@mrBliss please, could you take a quick look to confirm the bug could be related with that pr? |
Yes, I'll look into it. |
@GuillaumeDesforges You are using haskell-language-server-0.6.0.0, which is relatively old, we're at 0.8.0.0 now. My PR, #766, was not even merged in 0.6.0.0. (It's good practice to first try to reproduce with the last release (or even I have tried to reproduce this with a recent version, which includes my #766, and I get the following suggestion: I actually think #766 didn't change this but an earlier PR did, e.g., haskell/ghcide#916. |
@mrBliss many thanks for checking it, i should have checked the hls version before even ping you, sorry |
Indeed, I was using HLS from nixpkgs (e9158eca70a from 09/12, not so long ago). I'm glad things are going so fast! Sorry for the inconvenience, Best |
@GuillaumeDesforges no problem at all, thanks for your bug reports |
Sorry for linking your PR, @mrBliss. I should have checked the HLS version of this issue. |
No problem at all. My PR indeed looked related 🙂 |
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: 0.6.0.0 (GHC: 8.10.2) (PATH: /nix/store/li7n1p632m5wkkzw7yvw4ahj2mn55c2d-haskell-language-server-0.6.0.0/bin/haskell-language-server-wrapper) Tool versions found on the $PATH cabal: Not found stack: 2.5.1 ghc: Not found
Which lsp-client do you use: VS Code
Describe your project (alternative: link to the project):
Contents of
hie.yaml
:Steps to reproduce
ColorIfTerminal
) in the code.Expected behaviour
Imports become
Actual behaviour
which creates an error
The text was updated successfully, but these errors were encountered: