#2707: GHCi reports "exitWith ExitSuccess" as an exception
------------------------------+---------------------------------------------
 Reporter:  guest             |          Owner:                  
     Type:  bug               |         Status:  new             
 Priority:  normal            |      Milestone:                  
Component:  Compiler          |        Version:  6.8.3           
 Severity:  normal            |     Resolution:                  
 Keywords:                    |     Difficulty:  Unknown         
 Testcase:                    |   Architecture:  Unknown/Multiple
       Os:  Unknown/Multiple  |  
------------------------------+---------------------------------------------
Comment (by simonmar):

 Replying to [comment:4 claus]:

 > Would it work to wrap the whole thing (including any `finally`s) in a
 handler that discards surviving `ExitSuccess`es by default, with a flag to
 disable the default wrapping?

 Sure - the question is whether we ''should'' do that.  (and having a flag
 is a bit of a cop-out, though admittedly a cop-out we often employ :-)).

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2707#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to