#5561: assertion overriden by other exceptions
------------------------------------------+---------------------------------
  Reporter:  MikolajKonarski              |          Owner:                
      Type:  bug                          |         Status:  closed        
  Priority:  normal                       |      Milestone:                
 Component:  Compiler                     |        Version:  7.3           
Resolution:  fixed                        |       Keywords:                
  Testcase:  assert                       |      Blockedby:                
Difficulty:                               |             Os:  Linux         
  Blocking:                               |   Architecture:  x86_64 (amd64)
   Failure:  Incorrect result at runtime  |  
------------------------------------------+---------------------------------
Changes (by igloo):

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


Comment:

 Done:
 {{{
 commit cc4774d8b1e2736c4b9171db05451ba6355c98b6
 Author: Ian Lynagh <[email protected]>
 Date:   Wed Oct 19 22:23:19 2011 +0100

     If an assertion fails, through it rather than a deeper error; fixes
 #5561

     An expression like
         assert False (throw e)
     should throw the assertion failure rather than e
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5561#comment:7>
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