Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
110a35dc
Commit
110a35dc
authored
Aug 08, 2001
by
simonmar
Browse files
[project @ 2001-08-08 08:44:47 by simonmar]
Nuke the "Compilation had errors" message again.
parent
ebd10acf
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/compiler/main/Main.hs
View file @
110a35dc
{-# OPTIONS -fno-warn-incomplete-patterns #-}
-----------------------------------------------------------------------------
-- $Id: Main.hs,v 1.8
4
2001/08/0
7 10:54:01
simonmar Exp $
-- $Id: Main.hs,v 1.8
5
2001/08/0
8 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
"
\n
Compilation had errors
\n
"
exitWith
code
PhaseFailed
_phase
code
->
exitWith
code
Interrupted
->
exitWith
(
ExitFailure
1
)
_
->
do
hPutStrLn
stderr
(
show
(
dyn
::
GhcException
))
exitWith
(
ExitFailure
1
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment