#2913: OldException's catch etc should treat new Exception types as 
DynException's
-------------------------------+--------------------------------------------
  Reporter:  igloo             |          Owner:                  
      Type:  bug               |         Status:  new             
  Priority:  normal            |      Milestone:  6.10.2          
 Component:  libraries/base    |        Version:  6.10.1          
  Severity:  normal            |       Keywords:                  
Difficulty:  Unknown           |       Testcase:                  
        Os:  Unknown/Multiple  |   Architecture:  Unknown/Multiple
-------------------------------+--------------------------------------------
 `OldException`'s catch etc should treat new `Exception` types as
 `DynException`'s. Currently new style exceptions are just not caught,
 which is a bug. It also means that cleaning up with functions like
 `finally` doesn't work properly.

 Additionally, functions like `bracket`, `onException`, `finally` which
 don't actually exposed the exception type could just use the new functions
 directly, rather than reimplementing them.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2913>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to