From: simonpj@microsoft.com Date: Fri, 29 Sep 2006 16:51:18 +0000 (+0000) Subject: Add missing case for EqPred X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;ds=sidebyside;h=e0ab62c1879c97b1db44b23150b2e260a9ec48cf;p=ghc-hetmet.git Add missing case for EqPred --- diff --git a/compiler/typecheck/TcUnify.lhs b/compiler/typecheck/TcUnify.lhs index a343b23..39c3cbd 100644 --- a/compiler/typecheck/TcUnify.lhs +++ b/compiler/typecheck/TcUnify.lhs @@ -1461,6 +1461,7 @@ unBox (TyVarTy tv) unBoxPred (ClassP cls tys) = do { tys' <- mapM unBox tys; return (ClassP cls tys') } unBoxPred (IParam ip ty) = do { ty' <- unBox ty; return (IParam ip ty') } +unBoxPred (EqPred ty1 ty2) = do { ty1' <- unBox ty1; ty2' <- unBox ty2; return (EqPred ty1' ty2') } \end{code}