summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-20 01:05:58 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-20 01:05:58 +0000
commitffd68b43d56852f78089c4384abe8906cb307a39 (patch)
tree1afcd4c28208351c036cefd35628680bd8217e8b
parent1d7cac7a4317c44cd3e4d5e05c96c291d549571e (diff)
downloadhaskell-ffd68b43d56852f78089c4384abe8906cb307a39.tar.gz
Remove printExceptionAndWarnings (deprecated since 7.2)
-rw-r--r--compiler/main/GHC.hs1
-rw-r--r--compiler/main/GhcMonad.hs6
2 files changed, 1 insertions, 6 deletions
diff --git a/compiler/main/GHC.hs b/compiler/main/GHC.hs
index ee40a1343d..483da4b5e4 100644
--- a/compiler/main/GHC.hs
+++ b/compiler/main/GHC.hs
@@ -17,7 +17,6 @@ module GHC (
runGhc, runGhcT, initGhcMonad,
gcatch, gbracket, gfinally,
printException,
- printExceptionAndWarnings,
handleSourceError,
needsTemplateHaskell,
diff --git a/compiler/main/GhcMonad.hs b/compiler/main/GhcMonad.hs
index 1806264d42..66034e0b50 100644
--- a/compiler/main/GhcMonad.hs
+++ b/compiler/main/GhcMonad.hs
@@ -18,7 +18,7 @@ module GhcMonad (
Session(..), withSession, modifySession, withTempSession,
-- ** Warnings
- logWarnings, printException, printExceptionAndWarnings,
+ logWarnings, printException,
WarnErrLogger, defaultWarnErrLogger
) where
@@ -189,10 +189,6 @@ printException err = do
dflags <- getSessionDynFlags
liftIO $ printBagOfErrors dflags (srcErrorMessages err)
-{-# DEPRECATED printExceptionAndWarnings "use printException instead" #-} -- deprecated in 7.2
-printExceptionAndWarnings :: GhcMonad m => SourceError -> m ()
-printExceptionAndWarnings = printException
-
-- | A function called to log warnings and errors.
type WarnErrLogger = GhcMonad m => Maybe SourceError -> m ()