ktf
ktf
I had to make some changes to the `stack.yaml` file to get it to build with stack + GHC 9.0.2 on your branch. A bit of a heavy-handed approach, probably...
> Ah thanks. I don't use Stack so I didn't know about that. I can add it to my branch at some point, or feel free to submit a PR....
> See also #4051 (comment) To clarify/summarize my somewhat-rambly comment: I agree! A process like this makes a lot of sense to me: 1. Filter all available server-side diagnostics based...
Just popping in to say I'm still seeing this behavior on neovim `0.9.5`, HLS `2.5.0`. Is this reproducible on (e.g.) VS Code? Might be the quickest way to narrow down...
> Removing redundant import works for me in vscode. Yup, me too. (Now that I've installed it again, heh.) Which definitely suggests it's a problem with neovim! I filed https://github.com/neovim/neovim/issues/27318,...
Well, I opened a PR that fixes the issue: https://github.com/haskell/haskell-language-server/pull/4051 ...but I'm not sure if it's the "right" thing to do! Meanwhile though, if you're affected by this, building HLS...
> Could someone verify if that has in fact fixed this issue? I just tried with the [nightly build of neovim](https://github.com/neovim/neovim/releases/tag/nightly) from Feb 7 (which appears to contain [the fix](https://github.com/neovim/neovim/commit/3be2536ca039fb0f0de4ed2858db5a6d13baeba3))...
While we wait on the neovim fix, I figured I'd take a crack at fixing it [the right way](https://github.com/haskell/haskell-language-server/issues/4056) on the HLS side. [PR here](https://github.com/haskell/haskell-language-server/pull/4063)!
I forgot to mention it here, but now that PR https://github.com/haskell/haskell-language-server/pull/4063 is merged, I think this bug can be closed out :tada: 
Ah, I wonder if this is related to `GHC2021`! That includes `ImportQualifiedPost`. From [the docs](https://ghc.gitlab.haskell.org/ghc/doc/users_guide/exts/control.html#extension-GHC2021): > `GHC2021` is used by GHC if neither `Haskell98` nor `Haskell2010` is turned on explicitly....