GHCi reports "exitWith ExitSuccess" as an exception
Consider the following behaviour.
mfn@pc149:~$ ghci
GHCi, version 6.8.2: http://www.haskell.org/ghc/ :? for help
Loading package base ... linking ... done.
Prelude> :m System.Exit
Prelude System.Exit> exitWith ExitSuccess
*** Exception: exit: ExitSuccess
Prelude System.Exit>
Is this desired --- i.e. is a successfull exit worth shouting about?
Matthew Naylor (mfn@cs.york.ac.uk
)
Trac metadata
Trac field | Value |
---|---|
Version | 6.8.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |