[commit: ghc] ghc-8.4: Fix hash in haddock of ghc-prim. (f28645c)

git at git.haskell.org git at git.haskell.org
Thu Jan 18 19:20:46 UTC 2018


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

On branch  : ghc-8.4
Link       : http://ghc.haskell.org/trac/ghc/changeset/f28645c04958a2e2ab61239db70478d9dcce6ba6/ghc

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

commit f28645c04958a2e2ab61239db70478d9dcce6ba6
Author: HE, Tao <sighingnow at gmail.com>
Date:   Mon Jan 15 13:51:15 2018 -0500

    Fix hash in haddock of ghc-prim.
    
    Reviewers: bgamari
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie, carter
    
    GHC Trac Issues: #14653
    
    Differential Revision: https://phabricator.haskell.org/D4305
    
    (cherry picked from commit 2feed118413944cae8a4eed17365f40521f470db)


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

f28645c04958a2e2ab61239db70478d9dcce6ba6
 compiler/prelude/primops.txt.pp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/prelude/primops.txt.pp b/compiler/prelude/primops.txt.pp
index d6c06b1..38617b5 100644
--- a/compiler/prelude/primops.txt.pp
+++ b/compiler/prelude/primops.txt.pp
@@ -2621,7 +2621,7 @@ section "Unsafe pointer equality"
 
 primop  ReallyUnsafePtrEqualityOp "reallyUnsafePtrEquality#" GenPrimOp
    a -> a -> Int#
-   { Returns 1# if the given pointers are equal and 0# otherwise. }
+   { Returns {\texttt 1\#} if the given pointers are equal and {\texttt 0\#} otherwise. }
    with
    can_fail   = True -- See Note [reallyUnsafePtrEquality#]
 



More information about the ghc-commits mailing list