The diags reported in the log are the correct ones (matching GHC messages that cabal new-build reports), however Neovim is stuck at some older state of diagnostics.
Reloading the file with :e erases all diagnostics at all, but does not load the new ones. Only restarting HIE helps.
Another issue I don't know how to debug.
I will try HLS later to see if I can reproduce that.
HIE fe630a1e31232013549518909e511924e19af4af, I'm developing with cabal new-* in nix-shell.
vim version: NVIM v0.5.0-2413-g8f3d0276e
node version: v10.15.3
coc.nvim version: 0.0.78-fc983ce6dd
In :CocInfo I'm seeing this message:
Using hie version: Version 1.4 x86_64 ghc-8.8.3
Using hoogle db at: /Users/maksbotan/.hoogle/default-haskell-5.0.17.hoo
hie: hie: panic! (the 'impossible' happened)
(GHC version 8.8.3 for x86_64-apple-darwin):
ModOrigin: hidden module redefined
Please report this as a GHC bug: https://www.haskell.org/ghc/reportabug
Curiously, I saw the same message in cabal new-repl once when I tried to tab-complete module name in import.
My hie.yaml (only lib component is open at the moment):
Hi,
I am observing strange behavior. Judging by hie's log it correctly sees updates I make to the file:
The diags reported in the log are the correct ones (matching GHC messages that
cabal new-build
reports), however Neovim is stuck at some older state of diagnostics.Reloading the file with
:e
erases all diagnostics at all, but does not load the new ones. Only restarting HIE helps.Another issue I don't know how to debug.
I will try HLS later to see if I can reproduce that.
HIE fe630a1e31232013549518909e511924e19af4af, I'm developing with
cabal new-*
in nix-shell.In
:CocInfo
I'm seeing this message:Curiously, I saw the same message in
cabal new-repl
once when I tried to tab-complete module name in import.My
hie.yaml
(only lib component is open at the moment):