Commit 110a35dc authored by simonmar's avatar simonmar
Browse files

[project @ 2001-08-08 08:44:47 by simonmar]

Nuke the "Compilation had errors" message again.
parent ebd10acf
{-# OPTIONS -fno-warn-incomplete-patterns #-}
-----------------------------------------------------------------------------
-- $Id: Main.hs,v 1.84 2001/08/07 10:54:01 simonmar Exp $
-- $Id: Main.hs,v 1.85 2001/08/08 08:44:47 simonmar Exp $
--
-- GHC Driver program
--
......@@ -121,9 +121,7 @@ main =
-- all error messages are propagated as exceptions
handleDyn (\dyn -> case dyn of
PhaseFailed _phase code -> do
hPutStr stderr "\nCompilation had errors\n"
exitWith code
PhaseFailed _phase code -> exitWith code
Interrupted -> exitWith (ExitFailure 1)
_ -> do hPutStrLn stderr (show (dyn :: GhcException))
exitWith (ExitFailure 1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment