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.