[GHC] #3310: `show BlockedIndefinitely` should not equal `show BlockedOnDeadMVar`

GHC trac at galois.com
Tue Sep 1 03:32:42 EDT 2009


#3310: `show BlockedIndefinitely` should not equal `show BlockedOnDeadMVar`
---------------------------------+------------------------------------------
    Reporter:  enolan            |        Owner:                  
        Type:  feature request   |       Status:  closed          
    Priority:  normal            |    Milestone:  6.12.1          
   Component:  libraries/base    |      Version:  6.10.3          
    Severity:  normal            |   Resolution:  fixed           
    Keywords:                    |   Difficulty:  Unknown         
    Testcase:                    |           Os:  Unknown/Multiple
Architecture:  Unknown/Multiple  |  
---------------------------------+------------------------------------------
Changes (by simonmar):

  * status:  new => closed
  * resolution:  => fixed

Comment:

 I went a bit further and actually changed the exception names.

 {{{
 Sun Aug 30 16:28:50 BST 2009  Simon Marlow <marlowsd at gmail.com>
   * Address #3310

    - Rename BlockedOnDeadMVar   -> BlockedIndefinitelyOnMVar
    - Rename BlockedIndefinitely -> BlockedIndefinitelyOnSTM
    - instance Show BlockedIndefinitelyOnMVar is now
        "blocked indefinitely in an MVar operation"
    - instance Show BlockedIndefinitelyOnSTM is now
        "blocked indefinitely in an STM transaction"

   clients using Control.OldException will be unaffected (the new
   exceptions are mapped to the old names).  However, for base4-compat
   we'll need to make a version of catch/try that does a similar
   mapping.
 }}}

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


More information about the Glasgow-haskell-bugs mailing list