Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/7a61f477f52a895d854e82b52f3b4e2fee912121

>---------------------------------------------------------------

commit 7a61f477f52a895d854e82b52f3b4e2fee912121
Author: Simon Marlow <[email protected]>
Date:   Mon Feb 27 11:49:55 2012 +0000

    remove unused function: printError

>---------------------------------------------------------------

 compiler/main/ErrUtils.lhs |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/compiler/main/ErrUtils.lhs b/compiler/main/ErrUtils.lhs
index 6ba9df4..52d05d0 100644
--- a/compiler/main/ErrUtils.lhs
+++ b/compiler/main/ErrUtils.lhs
@@ -9,7 +9,7 @@ module ErrUtils (
         ErrMsg, WarnMsg, Severity(..),
         Messages, ErrorMessages, WarningMessages,
         errMsgSpans, errMsgContext, errMsgShortDoc, errMsgExtraInfo,
-        MsgDoc, mkLocMessage, printError, pprMessageBag, pprErrMsgBag, 
+        MsgDoc, mkLocMessage, pprMessageBag, pprErrMsgBag,
         pprLocErrMsg, makeIntoWarning,
         
         errorsFound, emptyMessages,
@@ -95,9 +95,6 @@ mkLocMessage severity locn msg
       -- For warnings, print    Foo.hs:34: Warning:
       --                           <the warning message>
 
-printError :: SrcSpan -> MsgDoc -> IO ()
-printError span msg = printErrs (mkLocMessage SevError span msg) 
defaultErrStyle
-
 makeIntoWarning :: ErrMsg -> ErrMsg
 makeIntoWarning err = err { errMsgSeverity = SevWarning }
 



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to