You need to sign in or sign up before continuing.
ghc-in-ghci script fails when there is a Main.hs in the top-level directory
I had a file called Main.hs in my top-level GHC folder. When running ./utils/ghc-in-ghci/run.sh, the script tried to load this random file. I'm not sure which Main it is trying to load but it was not the right one!
Workaround: Don't have a file called Main.hs in the top-level directory.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 8.6.1 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |