#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  |  
------------------------------+---------------------------------------------
Changes (by simonmar):

  * difficulty:  => Unknown

Comment:

 I can see arguments both ways.  `ExitSuccess` is an exception like any
 other, and GHCi reports all exceptions - this might be helpful for the
 user if they weren't aware that `exitWith` raised an exception.  On the
 other hand, `ExitSuccess` doesn't cause any output in a standalone
 program.

 Anyone else have any thoughts?

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