Skip to content

New fix for #11647. Avoid side effects like #17171. Backport to 8.8.2

Roland Senn requested to merge RolandSenn/ghc:ghc8.8-A17171 into ghc-8.8

New fix for #11647 (closed). Avoid side effects like #17171 (closed). Backport of !1806 (closed) to %8.8.2.

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.

Edited by Roland Senn

Merge request reports