[commit: ghc] wip/T9858-typeable-ben2: Weak (a43cb77)

git at git.haskell.org git at git.haskell.org
Tue Sep 22 14:47:39 UTC 2015


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

On branch  : wip/T9858-typeable-ben2
Link       : http://ghc.haskell.org/trac/ghc/changeset/a43cb777ff0f4f702fb6f0e15b48a044383197da/ghc

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

commit a43cb777ff0f4f702fb6f0e15b48a044383197da
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Sun Sep 20 08:33:11 2015 +0200

    Weak


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

a43cb777ff0f4f702fb6f0e15b48a044383197da
 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 af5e0c9..4f4a1b7 100644
--- a/compiler/prelude/primops.txt.pp
+++ b/compiler/prelude/primops.txt.pp
@@ -2332,7 +2332,7 @@ primtype Weak# b
 -- note that tyvar "o" denotes openAlphaTyVar
 
 primop  MkWeakOp "mkWeak#" GenPrimOp
-   a -> b -> (State# RealWorld -> State# RealWorld) -> (# State# RealWorld, Weak# b #)
+   o -> b -> (State# RealWorld -> State# RealWorld) -> (# State# RealWorld, Weak# b #)
    with
    has_side_effects = True
    out_of_line      = True



More information about the ghc-commits mailing list