summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-e
diff options
context:
space:
mode:
authorEric Seidel <gridaphobe@gmail.com>2015-09-21 19:18:56 -0500
committerAustin Seipp <austin@well-typed.com>2015-09-21 19:24:47 -0500
commit0b852fcf74c65291aeb6357973ecb715735d6383 (patch)
treed92dddac04d543cb5811a4f689649ef846375f15 /testsuite/tests/ghc-e
parent83e23c1a4cce36de68c3c8323d27f24182b33f34 (diff)
downloadhaskell-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/ghc-e')
-rw-r--r--testsuite/tests/ghc-e/should_run/ghc-e005.stderr2
1 files changed, 2 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-e/should_run/ghc-e005.stderr b/testsuite/tests/ghc-e/should_run/ghc-e005.stderr
index 34cecca662..5836586c79 100644
--- a/testsuite/tests/ghc-e/should_run/ghc-e005.stderr
+++ b/testsuite/tests/ghc-e/should_run/ghc-e005.stderr
@@ -1 +1,3 @@
ghc-e005-prog: foo
+CallStack:
+ error, called at ghc-e005.hs:12:10 in main:Main