Looking for a recent error reporting change

Roland Senn rsx at bluewin.ch
Sun Jun 14 15:00:22 UTC 2020

Hi Chris,
Maybe you want to look at MR 1806 (https://gitlab.haskell.org/ghc/ghc/-
/merge_requests/1806). There I touched the `check is main exported`
stuff. There is also MR !1885 for GHC 8.6.2 (https://gitlab.haskell.org
/ghc/ghc/-/merge_requests/1885). However this got never merged!
Regards  Roland

Am Sonntag, den 14.06.2020, 09:43 -0400 schrieb Chris Smith:
> Hi.  In GHC 8.6.5, if I compile a main module that both fails to
> define `main` and also contains other errors, the other errors are
> not reported because GHC aborts after realizing that there is no
> `main`.  In GHC 8.10.1, all errors are reported.  I'm looking for
> where this change was made, in the hopes that it's easy to backport
> to a local branch of GHC 8.6.5.  Does anyone know off-hand?
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20200614/51dc35cc/attachment.html>

More information about the ghc-devs mailing list