
#12096: Attach stacktrace information to SomeException -------------------------------------+------------------------------------- Reporter: ndtimofeev | Owner: (none) Type: feature request | Status: new Priority: normal | Milestone: Component: Core Libraries | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by mnislaih): After thinking a bit more about it, I've realised why the `SomeExceptionWithCallStack` approach doesn't work well with the per- Exception type CallStacks: we end up with two CalltStacks stored in the same exception. Now I understand why C# and F# have special primitives for `rethhrow` .... -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12096#comment:12 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler