Commit 93f02b62 authored by Roland Senn's avatar Roland Senn Committed by Marge Bot

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

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 use the same code.
parent 0d31ccdd
Pipeline #10913 failed with stages
in 236 minutes and 58 seconds