X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Ftypecheck%2FTcHsType.lhs;h=f4c493ea59f4499bce51cdf010a217cd0f302afc;hp=fc7a8486f9a35df58d16a48e2cd2e2686758e262;hb=5822cb8d13aa3c05d2b46b4510c13d94b902eb21;hpb=940524aec90652b5ef81789c9a453c57c0e42cc9 diff --git a/compiler/typecheck/TcHsType.lhs b/compiler/typecheck/TcHsType.lhs index fc7a848..f4c493e 100644 --- a/compiler/typecheck/TcHsType.lhs +++ b/compiler/typecheck/TcHsType.lhs @@ -417,10 +417,11 @@ kc_pred pred@(HsClassP cls tys) } kc_pred pred@(HsEqualP ty1 ty2) = do { (ty1', kind1) <- kcHsType ty1 - ; checkExpectedKind ty1 kind1 liftedTypeKind +-- ; checkExpectedKind ty1 kind1 liftedTypeKind ; (ty2', kind2) <- kcHsType ty2 - ; checkExpectedKind ty2 kind2 liftedTypeKind - ; returnM (HsEqualP ty1 ty2, liftedTypeKind) +-- ; checkExpectedKind ty2 kind2 liftedTypeKind + ; checkExpectedKind ty2 kind2 kind1 + ; returnM (HsEqualP ty1' ty2', liftedTypeKind) } ---------------------------