commercialhaskell / commercialhaskell/stack
Have "stack ghci" detect case where main module is also specified in the modules list
Open
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
Assessment
This issue has not been assessed yet.