[GHC] #12096: Attach stacktrace information to SomeException

GHC ghc-devs at haskell.org
Tue Mar 7 02:58:54 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:  Exceptions
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 ezyang):

 Thanks for the pointer bgamari. It looks like your proposal is essentially
 the same initially specified in this ticket.

 Your wiki page does comment that call stacks are preserved if you rethrow
 SomeException. But this often doesn't happen in practice. For example, the
 `system-fileio` example above rethrows an `IOError`: oops, call stack
 lost.

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


More information about the ghc-tickets mailing list