[GHC] #2707: GHCi reports "exitWith ExitSuccess" as an exception

GHC trac at galois.com
Mon Oct 20 04:46:16 EDT 2008


#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 NeilMitchell):

 I'd suggest that no output is appropriate. The fact that exit success is
 implemented as an exception is an internal detail, as exceptions are
 typically for exceptional conditions. It also mirrors the standalone
 behaviour, which is a good thing.

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2707#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list