[GHC] #9049: Expose srcLoc from the assertion architecture to allow better error messages

GHC ghc-devs at haskell.org
Wed Aug 12 13:39:27 UTC 2015


#9049: Expose srcLoc from the assertion architecture to allow better error
messages
-------------------------------------+-------------------------------------
        Reporter:  nh2               |                   Owner:  gridaphobe
            Type:  feature request   |                  Status:  closed
        Priority:  normal            |               Milestone:  7.12.1
       Component:  Compiler          |                 Version:  7.8.2
      Resolution:  fixed             |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:  #5273, #624       |  Differential Revisions:  Phab:D578
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * related:  5273 => #5273, #624


Comment:

 One thing that we may want to consider is using this mechanism to address
 #624, which seeks backtraces for indefinitely blocking MVar and STM
 operations. The only slightly tricky thing here is that you would need to
 pipe the backtrace through the RTS.

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


More information about the ghc-tickets mailing list