[commit: ghc] master: Fix @since annotations for renamed pretty{CallStack, SrcLoc} (8aa9f35)
git at git.haskell.org
git at git.haskell.org
Sat Feb 6 10:32:31 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/8aa9f35e4c5e14410bc76ab08ef73f1abe700189/ghc
>---------------------------------------------------------------
commit 8aa9f35e4c5e14410bc76ab08ef73f1abe700189
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}
>---------------------------------------------------------------
8aa9f35e4c5e14410bc76ab08ef73f1abe700189
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