[commit: template-haskell] master: Add "deprecated in" comments to deprecated pragmas (77a9224)

Ian Lynagh igloo at earth.li
Tue Feb 19 22:07:31 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/packages/template-haskell

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/77a92240b257e8d7b35e7ceccb3e953782bfaa4a

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

commit 77a92240b257e8d7b35e7ceccb3e953782bfaa4a
Author: Ian Lynagh <ian at well-typed.com>
Date:   Tue Feb 19 15:21:35 2013 +0000

    Add "deprecated in" comments to deprecated pragmas

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

 Language/Haskell/TH/Syntax.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Language/Haskell/TH/Syntax.hs b/Language/Haskell/TH/Syntax.hs
index 625ee50..6982434 100644
--- a/Language/Haskell/TH/Syntax.hs
+++ b/Language/Haskell/TH/Syntax.hs
@@ -185,7 +185,7 @@ newName s = Q (qNewName s)
 -- but carry on; use 'fail' to stop.
 report  :: Bool -> String -> Q ()
 report b s = Q (qReport b s)
-{-# DEPRECATED report "Use reportError or reportWarning instead" #-}
+{-# DEPRECATED report "Use reportError or reportWarning instead" #-} -- deprecated in 7.6
 
 -- | Report an error to the user, but allow the current splice's computation to carry on. To abort the computation, use 'fail'.
 reportError :: String -> Q ()





More information about the ghc-commits mailing list