diff options
author | Eric Seidel <gridaphobe@gmail.com> | 2015-09-21 19:18:56 -0500 |
---|---|---|
committer | Austin Seipp <austin@well-typed.com> | 2015-09-21 19:24:47 -0500 |
commit | 0b852fcf74c65291aeb6357973ecb715735d6383 (patch) | |
tree | d92dddac04d543cb5811a4f689649ef846375f15 /testsuite/tests/codeGen/should_run/cgrun051.stderr | |
parent | 83e23c1a4cce36de68c3c8323d27f24182b33f34 (diff) | |
download | haskell-0b852fcf74c65291aeb6357973ecb715735d6383.tar.gz |
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
Diffstat (limited to 'testsuite/tests/codeGen/should_run/cgrun051.stderr')
-rw-r--r-- | testsuite/tests/codeGen/should_run/cgrun051.stderr | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/codeGen/should_run/cgrun051.stderr b/testsuite/tests/codeGen/should_run/cgrun051.stderr index fddcb81968..0a96a43628 100644 --- a/testsuite/tests/codeGen/should_run/cgrun051.stderr +++ b/testsuite/tests/codeGen/should_run/cgrun051.stderr @@ -1 +1,3 @@ cgrun051: OK +CallStack: + error, called at cgrun051.hs:7:25 in main:Main |