[commit: ghc] ghc-8.0: Fix @since annotations for renamed pretty{CallStack, SrcLoc} (82cb529)

git at git.haskell.org git at git.haskell.org
Sat Feb 6 14:15:25 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/82cb5292480e78366072f36009c4a5b38f653eca/ghc

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

commit 82cb5292480e78366072f36009c4a5b38f653eca
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Feb 6 11:33:14 2016 +0100

    Fix @since annotations for renamed pretty{CallStack,SrcLoc}
    
    (cherry picked from commit 8aa9f35e4c5e14410bc76ab08ef73f1abe700189)


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

82cb5292480e78366072f36009c4a5b38f653eca
 libraries/base/GHC/Exception.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libraries/base/GHC/Exception.hs b/libraries/base/GHC/Exception.hs
index 187ff88..ad50cec 100644
--- a/libraries/base/GHC/Exception.hs
+++ b/libraries/base/GHC/Exception.hs
@@ -202,7 +202,7 @@ showCCSStack stk = "CallStack (from -prof):" : map ("  " ++) (reverse stk)
 
 -- | Pretty print a 'SrcLoc'.
 --
--- @since 4.8.1.0
+-- @since 4.9.0.0
 prettySrcLoc :: SrcLoc -> String
 prettySrcLoc SrcLoc {..}
   = foldr (++) ""
@@ -214,7 +214,7 @@ prettySrcLoc SrcLoc {..}
 
 -- | Pretty print a 'CallStack'.
 --
--- @since 4.8.1.0
+-- @since 4.9.0.0
 prettyCallStack :: CallStack -> String
 prettyCallStack = intercalate "\n" . prettyCallStackLines
 



More information about the ghc-commits mailing list