diff options
author | David Feuer <david.feuer@gmail.com> | 2017-03-01 01:14:13 -0500 |
---|---|---|
committer | David Feuer <David.Feuer@gmail.com> | 2017-03-01 01:14:14 -0500 |
commit | 701256df88c61a2eee4cf00a59e61ef76a57b4b4 (patch) | |
tree | 390d51339bff6fb8d5369ec55a7d3cdc2fb5bb57 /compiler/ghci | |
parent | b86d226fda2f512178e04da4dec96b15c4480507 (diff) | |
download | haskell-701256df88c61a2eee4cf00a59e61ef76a57b4b4.tar.gz |
Change catch# demand signature
* Give `catch#` a lazy demand signature, to make it more honest.
* Make `catchException` and `catchAny` force their arguments so they
actually behave as advertised.
* Use `catch` rather than `catchException` in `forkIO`, `forkOn`, and
`forkOS` to avoid losing exceptions.
Fixes #13330
Reviewers: rwbarton, simonpj, simonmar, bgamari, hvr, austin
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D3244
Diffstat (limited to 'compiler/ghci')
0 files changed, 0 insertions, 0 deletions