[commit: ghc] master: base: use Show for ErrorCall in uncaughtExceptionHandler (0b852fc)

git at git.haskell.org git at git.haskell.org
Tue Sep 22 00:22:57 UTC 2015


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

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

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

commit 0b852fcf74c65291aeb6357973ecb715735d6383
Author: Eric Seidel <gridaphobe at gmail.com>
Date:   Mon Sep 21 19:18:56 2015 -0500

    base: use Show for ErrorCall in uncaughtExceptionHandler
    
    The default top-level exception handler now uses the `Show` instance for
    `ErrorCall` when printing exceptions, so it will actually print the out-of-band
    data (e.g. `CallStack`s) in compiled binaries, instead of just printing the
    error message.
    
    This also updates the hpc submodule to fix the test output.
    
    Reviewed By: austin, thomie
    
    Differential Revision: https://phabricator.haskell.org/D1217


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

0b852fcf74c65291aeb6357973ecb715735d6383
 compiler/deSugar/DsBinds.hs                                | 2 +-
 libraries/base/GHC/Conc/Sync.hs                            | 4 +---
 libraries/base/tests/all.T                                 | 4 ++++
 libraries/base/tests/readFloat.stderr                      | 2 ++
 libraries/base/tests/topHandler04.hs                       | 5 +++++
 libraries/base/tests/topHandler04.stderr                   | 2 ++
 libraries/hpc                                              | 2 +-
 testsuite/driver/testlib.py                                | 4 ++--
 testsuite/tests/array/should_run/arr003.stderr             | 2 ++
 testsuite/tests/array/should_run/arr004.stderr             | 2 ++
 testsuite/tests/array/should_run/arr007.stderr             | 2 ++
 testsuite/tests/array/should_run/arr008.stderr             | 2 ++
 testsuite/tests/codeGen/should_run/T5626.stderr            | 3 +++
 testsuite/tests/codeGen/should_run/cgrun016.stderr         | 2 ++
 testsuite/tests/codeGen/should_run/cgrun045.stderr         | 2 ++
 testsuite/tests/codeGen/should_run/cgrun051.stderr         | 2 ++
 testsuite/tests/codeGen/should_run/cgrun059.stderr         | 2 ++
 testsuite/tests/concurrent/should_run/conc021.stderr       | 2 ++
 testsuite/tests/deriving/should_run/T5628.stderr           | 2 ++
 testsuite/tests/driver/sigof02/sigof02.stderr              | 3 +++
 testsuite/tests/driver/sigof02/sigof02m.stderr             | 3 +++
 testsuite/tests/ffi/should_run/ffi008.stderr               | 2 ++
 testsuite/tests/ffi/should_run/fptrfail01.stderr           | 2 ++
 testsuite/tests/ghc-e/should_run/ghc-e005.stderr           | 2 ++
 testsuite/tests/safeHaskell/safeLanguage/SafeLang09.stderr | 2 ++
 testsuite/tests/simplCore/should_fail/T7411.stderr         | 4 +++-
 testsuite/tests/simplCore/should_run/T457.stderr           | 2 ++
 testsuite/tests/simplCore/should_run/T5587.stderr          | 2 ++
 testsuite/tests/simplCore/should_run/T5625.stderr          | 3 +++
 testsuite/tests/stranal/should_run/strun002.stderr         | 2 ++
 30 files changed, 67 insertions(+), 8 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 0b852fcf74c65291aeb6357973ecb715735d6383


More information about the ghc-commits mailing list