Open nh2 opened 11 years ago
As far as I understand, only GHC can detect whether a module ends up as module Main
because you can e.g. switch the module name using CPP
.
I just realized that this is not a problem any more, since the final ghc pass we do now will detect this correctly.
I addressed it in https://github.com/23Skidoo/ghc-parmake/pull/15.
As noted in the code already:
Let's use this issue for discussion.