prevent exitFailure.

This commit is contained in:
Kazu Yamamoto 2012-06-04 15:40:26 +09:00
parent 111058562a
commit a40f293d43

View File

@ -21,8 +21,9 @@ withGHC body = ghandle ignore $ runGhc (Just libdir) $ do
where
ignore :: Alternative m => SomeException -> IO (m a)
ignore e = do
hPutStr stderr "Dummy:0:0:Error:"
hPrint stderr e
exitFailure
exitSuccess
----------------------------------------------------------------