Looking for a recent error reporting change

Simon Peyton Jones simonpj at microsoft.com
Mon Jun 15 09:11:23 UTC 2020


Is there a reason you want to stick with 8.6.5?

One way to find what you want is to use git-bisect to find the commit that made the change.  I think various people have automated setups for this.

Simon

From: ghc-devs <ghc-devs-bounces at haskell.org> On Behalf Of Chris Smith
Sent: 14 June 2020 14:43
To: ghc-devs at haskell.org
Subject: Looking for a recent error reporting change

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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20200615/658308e9/attachment.html>


More information about the ghc-devs mailing list