This repository has been archived by the owner on Oct 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 208
ghcmod "Could not load module" for test file #1362
Comments
For now I used the workaround of adding the test packages to the library part of the cabal file also:
ghcmod sees the modules then and HIE works. |
I'm running into something I think is similar on a stack project --
here's my package yaml:
|
I am experiencing it open
and 4 more similar errors |
Should be resolved now. For different components, having different dependencies works. Resolved by #1126 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Getting the following
ghcmod
error message in the test file:If I open a Lib file HIE works fine without any errors.
Using GHC 8.6.4
Issue can be reproduced both with Atom and VSCode
To reproduce you can git clone this project: https://github.com/fairy-tale-agi-solutions/fairy-tale-artificial-general-intelligence-solutions/tree/master/Sources/Razvan%20Flavius%20Panda/Haskell/artificial-general-intelligence
At SHA:
758129122541c2f2f0a4f19a1e70e413543fa72e
And open the
test/Spec.hs
file to see the issue.The text was updated successfully, but these errors were encountered: