projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c7e51f5
)
Add missing case for EqPred
author
simonpj@microsoft.com
<unknown>
Fri, 29 Sep 2006 16:51:18 +0000
(16:51 +0000)
committer
simonpj@microsoft.com
<unknown>
Fri, 29 Sep 2006 16:51:18 +0000
(16:51 +0000)
compiler/typecheck/TcUnify.lhs
patch
|
blob
|
history
diff --git
a/compiler/typecheck/TcUnify.lhs
b/compiler/typecheck/TcUnify.lhs
index
a343b23
..
39c3cbd
100644
(file)
--- 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}