[commit: ghc] master: Improve error handling in TcRnMonad (465c6c5)

git at git.haskell.org git at git.haskell.org
Wed Oct 5 21:01:14 UTC 2016


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

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

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

commit 465c6c5d15f8fb54afb78408f3a79e75e74d2cd4
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Wed Oct 5 22:00:02 2016 +0100

    Improve error handling in TcRnMonad
    
    See Note [Constraints and errors] in TcRnMonad.  This
    patch fixes Trac #12124 in quite a neat way.


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

465c6c5d15f8fb54afb78408f3a79e75e74d2cd4
 compiler/typecheck/TcRnMonad.hs                    | 60 +++++++++++++---------
 compiler/typecheck/TcSplice.hs                     |  2 +-
 .../should_fail/CustomTypeErrors02.stderr          |  5 --
 testsuite/tests/typecheck/should_fail/T12124.hs    |  8 +++
 .../should_fail/T12124.srderr}                     |  0
 .../tests/typecheck/should_fail/T12124.stderr      |  9 ++++
 testsuite/tests/typecheck/should_fail/T8142.stderr | 10 ----
 testsuite/tests/typecheck/should_fail/all.T        |  1 +
 8 files changed, 56 insertions(+), 39 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 465c6c5d15f8fb54afb78408f3a79e75e74d2cd4


More information about the ghc-commits mailing list