This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
Hie crashes Coc Neovim #1761
Closed
Description
I am trying to use HIE with Neovim and Coc. I configured everything as in documentation, but I get no diagnostics.
ghc is 8.8.3 and I built HIE from sources with stack
The system is Ubuntu 19.10
In :CocInfo I see that it crashes with error
2020-05-04 12:45:53.259897418 [ThreadId 9] - Scheduler thread exited unexpectedly: user error (Pattern match failure in do expression at lib/Distribution/Helper.hs:603:7-22)
And when I try to run hie-wrapper
in shell I get the same error
2020-05-04 12:44:12.545691526 [ThreadId 4] - New cradle: /home/yeti/projects/haskell/helloworld/Hello.hs
2020-05-04 12:44:12.546935854 [ThreadId 4] - Cabal-Helper decided to use: ProjLocStackYaml {plStackYaml = "/home/yeti/projects/haskell/helloworld/stack.yaml"}
2020-05-04 12:44:12.547059432 [ThreadId 4] - Module "/home/yeti/projects/haskell/helloworld/Hello.hs" is loaded by Cradle: Cradle {cradleRootDir = "/home/yeti/projects/haskell/helloworld", cradleOptsProg = CradleAction: Other Stack}
2020-05-04 12:44:12.547137868 [ThreadId 4] - Found cradle: Cradle {cradleRootDir = "/home/yeti/projects/haskell/helloworld", cradleOptsProg = CradleAction: Other Stack}
hie-8.8.3: user error (Pattern match failure in do expression at lib/Distribution/Helper.hs:603:7-22)
hie-wrapper: callProcess: /home/yeti/.local/bin/hie-8.8.3 (exit 1): failed