Description
I have this error in the main executable file in a two projects (hevm
, and act
).
In both of these projects haskell-language-server
works very well (type checking / doc lookup / jump to definition) in all files except the main executable (Main.hs
in act
and hevm-cli.hs
in hevm
).
cabal new-build
works without errors in both projects.
I am using a globally installed version of hakell-language-server
built against ghc8.6.5
using the nix deritvations here.
The full output from running haskell-language-server
from the root of the act
repo is here.
If you want to reproduce the issue locally, it's probably easiest to use the act
project. The shell.nix
in the repo root can be used to prepare a working build environment, but does not currently include an installation of haskell-language-server
itself.