[commit: ghc] master: Add a "deprecated in" pragma (1d7cac7)

Ian Lynagh igloo at earth.li
Thu Feb 21 03:19:28 CET 2013


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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/1d7cac7a4317c44cd3e4d5e05c96c291d549571e

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

commit 1d7cac7a4317c44cd3e4d5e05c96c291d549571e
Author: Ian Lynagh <ian at well-typed.com>
Date:   Wed Feb 20 01:03:20 2013 +0000

    Add a "deprecated in" pragma

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

 compiler/main/GhcMonad.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/compiler/main/GhcMonad.hs b/compiler/main/GhcMonad.hs
index 02769bc..1806264 100644
--- a/compiler/main/GhcMonad.hs
+++ b/compiler/main/GhcMonad.hs
@@ -189,7 +189,7 @@ printException err = do
   dflags <- getSessionDynFlags
   liftIO $ printBagOfErrors dflags (srcErrorMessages err)
 
-{-# DEPRECATED printExceptionAndWarnings "use printException instead" #-}
+{-# DEPRECATED printExceptionAndWarnings "use printException instead" #-} -- deprecated in 7.2
 printExceptionAndWarnings :: GhcMonad m => SourceError -> m ()
 printExceptionAndWarnings = printException
 





More information about the ghc-commits mailing list