summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-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 ()