#2913: OldException's catch etc should treat new Exception types as
DynException's
---------------------------------+------------------------------------------
Reporter: igloo | Owner: igloo
Type: bug | Status: closed
Priority: high | Milestone: 6.10.2
Component: libraries/base | Version: 6.10.1
Severity: normal | Resolution: fixed
Keywords: | Difficulty: Unknown
Testcase: OldException001 | Os: Unknown/Multiple
Architecture: Unknown/Multiple |
---------------------------------+------------------------------------------
Changes (by igloo):
* testcase: => OldException001
* status: new => closed
* resolution: => fixed
Comment:
Fixed in HEAD and 6.10 branches:
{{{
Mon Feb 2 15:18:56 GMT 2009 Ian Lynagh <[email protected]>
* OldException catches unknown exceptions as DynException
It's important that we put all exceptions into the old Exception
type somehow, or throwing a new exception wouldn't cause the
cleanup code for bracket, finally etc to happen.
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2913#comment:4>
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