Skip to content
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.

ghcmod "Could not load module" for test file #1362

Closed
@freeman42x

Description

@freeman42x

Getting the following ghcmod error message in the test file:

Could not load module ‘Hedgehog.Range’
It is a member of the hidden package ‘hedgehog-0.6.1’.
Perhaps you need to add ‘hedgehog’ to the build-depends in your .cabal file.
Use -v to see a list of the files searched for.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions