Skip to content

New fix for #11647. Avoid side effects like #17171

Roland Senn requested to merge RolandSenn/ghc:A17171 into master

If a main module doesn't contain a header, we omit the check whether the main module is exported. With this patch GHC, GHCi and runghc again use the same code to check whether the main module is exported.

Merge request reports