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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/baab12043477828488b351aa595f2aaca78453af

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

commit baab12043477828488b351aa595f2aaca78453af
Author: Simon Peyton Jones <simo...@microsoft.com>
Date:   Wed Oct 3 08:15:34 2012 +0100

    Fix type error in 2c207b6f (Compare the kinds of type variables)

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

 compiler/typecheck/TcRnDriver.lhs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/compiler/typecheck/TcRnDriver.lhs 
b/compiler/typecheck/TcRnDriver.lhs
index a573623..18f7951 100644
--- a/compiler/typecheck/TcRnDriver.lhs
+++ b/compiler/typecheck/TcRnDriver.lhs
@@ -768,8 +768,8 @@ checkBootTyCon tc1 tc2
   , Just syn_rhs2 <- synTyConRhs_maybe tc2
   , Just env <- eqTyVarBndrs emptyRnEnv2 (tyConTyVars tc1) (tyConTyVars tc2)
   = ASSERT(tc1 == tc2)
-    let eqSynRhs SynFamilyTyCon SynFamilyTyCon
-            = True
+    let eqSynRhs (SynFamilyTyCon o1 i1) (SynFamilyTyCon o2 i2)
+            = o1==o2 && i1==i2
         eqSynRhs (SynonymTyCon t1) (SynonymTyCon t2)
             = eqTypeX env t1 t2
         eqSynRhs _ _ = False



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

Reply via email to