[commit: ghc] master: Initialise cec_suppress properly (ecc0ddf)

git at git.haskell.org git at git.haskell.org
Mon Aug 20 14:56:04 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/ecc0ddf65b1e2700f83f643fffdd41e966013332/ghc

>---------------------------------------------------------------

commit ecc0ddf65b1e2700f83f643fffdd41e966013332
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Mon Aug 20 15:54:14 2018 +0100

    Initialise cec_suppress properly
    
    In TcErrors, cec_suppress is used to suppress low-priority
    errors in favour of truly insoluble ones.
    
    But I was failing to initialise it correcly at top level, which
    resulted in Trac #15539.  Easy to fix.
    
    A few regression tests have fewer errors reported, but that seems to
    be an improvement.


>---------------------------------------------------------------

ecc0ddf65b1e2700f83f643fffdd41e966013332
 compiler/typecheck/TcErrors.hs                     |  7 ++++-
 testsuite/tests/ghci/scripts/Defer02.stderr        | 31 ----------------------
 testsuite/tests/rename/should_fail/T15539.hs       | 17 ++++++++++++
 testsuite/tests/rename/should_fail/T15539.stderr   |  4 +++
 testsuite/tests/rename/should_fail/all.T           |  1 +
 .../should_compile/valid_hole_fits.stderr          | 30 ---------------------
 .../tests/typecheck/should_fail/tcfail078.stderr   | 13 ---------
 7 files changed, 28 insertions(+), 75 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc ecc0ddf65b1e2700f83f643fffdd41e966013332


More information about the ghc-commits mailing list