-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
cabal cannot find Main #304
Comments
Hi! Thank you for the bug report! To me, it looks like this cabal bug: haskell/cabal#6622 TLDR; the bug is EDIT: in the readme the section https://github.com/haskell/haskell-language-server#project-configuration might be helpful as well. |
thanks, this workaround seems like a compile database, |
I accidentally broke this on Windows in #303 by letting the two conversirons get out of sync.
I am getting this error on Main.hs, while other files worked fine
cabal can build the executable and it runs fine.
this only occurs with hls but not hie (previously, like several months ago)
a toy project can be found here
(note that -dynamic flag maybe not required on other distributions)
env:
arch linux
neovim with coc
ghc 8.10.1, cabal 3.2.0.0, all dynamically linked
hls 0.2.2 from AUR
:CocInfo output:
The text was updated successfully, but these errors were encountered: