Re: Looking for a recent error reporting change

2020-06-15 Thread Chris Smith
gt; > > *From:* ghc-devs *On Behalf Of *Chris Smith > *Sent:* 14 June 2020 14:43 > *To:* ghc-devs@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 ot

RE: Looking for a recent error reporting change

2020-06-15 Thread Simon Peyton Jones via ghc-devs
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

Re: Looking for a recent error reporting change

2020-06-14 Thread Ben Gamari
Roland Senn writes: > 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

Re: Looking for a recent error reporting change

2020-06-14 Thread Roland Senn
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  

Looking for a recent error reporting change

2020-06-14 Thread 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