Skip to content

Cant load exe/test/bench module wit stack if the library has not been built previously #318

Closed
@tomasaschan

Description

@tomasaschan

I have a project that initializes fine with this extension, but it doesn't seem like I've gotten all the config right yet.

https://github.com/dandeliondeathray/niancat-haskell

When opening src/app/Main.hs I get squigglies about niancat-0.1.0.0 (my library package), and if I open a test file I get squigglies about hspec (referenced in the test package only, not the library).

It seems like the GHCi instance used for tooltips etc is initialized with only the library, and not tests and exe parts, loaded, despite the existence of a hie.yaml which points to the root directories of the different parts.

What am I doing wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    build tool: stackstatus: blockedNot actionable, because blocked by upstream/GHC etc.type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions