[GHC] #12096: Attach stacktrace information to SomeException

GHC ghc-devs at haskell.org
Mon Mar 6 23:52:22 UTC 2017


#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 gridaphobe):

 @ezyang are you sure that there are that many explicit catch-rethrows in
 Haskell code? We certainly have tools (e.g. `catches` and `catchJust`) to
 avoid having to explicitly rethrow exceptions. And it would be much less
 work to add the `CallStack` to `SomeException` and update
 `Control.Exception` '''if''' `catchJust` and co are actually used.

 Seems like something we could investigate on Hackage before making a
 decision :)

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12096#comment:13>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list