haskell-hedgehog
haskell-hedgehog copied to clipboard
Replace `exceptions` dependency with `safe-exceptions`
By using safe-exceptions we avoid catching asynchronous exceptions, which aren't of any interest to Hedgehog. The current usage of exceptions is problematic, because checkReport calls catchAny, which means it catches asynchronous exceptions. This is a problem for tasty-hedgehog, because it means that Tasty's timeout mechanism can't be used to timeout Hedgehog tests (https://github.com/qfpl/tasty-hedgehog/issues/64, https://github.com/UnkindPartition/tasty/issues/349)
Great! I'll get these CI problem fixed up and then I'll squash it down to one commit.
@moodmosaic Ok, all done! I think this is ready to go now.
Thank you, @ocharles 👍
YW!