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

 I think the current behaviour is perfectly sensible. It gives you the
 result of your action, which is an exception saying it exited sucessfully.
 It's not as if it's giving a page of scary error messages.

 If it's too scary then change the printing within ghci of "non scary"
 exceptions like exit and `^C`.

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