Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : supercompiler

http://hackage.haskell.org/trac/ghc/changeset/1721b87c0d18688f4f5d158c9223490ba1016322

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

commit 1721b87c0d18688f4f5d158c9223490ba1016322
Author: Max Bolingbroke <batterseapo...@hotmail.com>
Date:   Thu Apr 19 17:18:32 2012 +0100

    Comment only

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

 compiler/supercompile/Supercompile/Drive/MSG.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/compiler/supercompile/Supercompile/Drive/MSG.hs 
b/compiler/supercompile/Supercompile/Drive/MSG.hs
index dab426b..7a26eef 100644
--- a/compiler/supercompile/Supercompile/Drive/MSG.hs
+++ b/compiler/supercompile/Supercompile/Drive/MSG.hs
@@ -590,7 +590,7 @@ msgPureHeap {- mm -} rn2 msg_s init_h_l init_h_r (k_bvs_l, 
k_fvs_l) (k_bvs_r, k_
     go rn_l rn_r used_l used_r h_l h_r h msg_s@(MSGState { msgPending = 
((a_common, PendingType ty_l ty_r):rest) })
       -- Match binders themselves, but in this case we can't reuse 
msgTyVarBndrExtras, which is annoying :-(
       | Right (msg_s, a_common) <- flip runMSG (msg_s { msgPending = rest }) 
(liftM (a_common `setTyVarKind`) $ msgKind rn2 (typeKind ty_l) (typeKind ty_r))
-      -- We already know the types don't match so we are going to generalise
+      -- We already know the types don't match so we are going to generalise. 
Note that these particular "sucks" can never fail:
       = prod (do (used_l', h_l') <- sucks init_h_l k_bvs_l h_l used_l 
(tyVarsOfType ty_l)
                  (used_r', h_r') <- sucks init_h_r k_bvs_l h_r used_r 
(tyVarsOfType ty_r)
                  return (go (insertTypeSubst rn_l a_common ty_l) 
(insertTypeSubst rn_r a_common ty_r) used_l' used_r'



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to