commercialhaskell / commercialhaskell/stack

Have "stack ghci" detect case where main module is also specified in the modules list

Open
#2,706 0 comments 0 reactions 0 assignees View on GitHub
component: ghci type: enhancement
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

[here](https://github.com/commercialhaskell/stack/issues/1606#issuecomment-253221381), Sean Leather mentions a circumstance where `stack ghci` tries to load the same Main module twice. The issue is that `Main` is in `main-is` and also in `other-modules`. We should be able to detect this circumstance, and make it a non-issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.