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:
a92db2a
)
OccName->FS change over for equalities in GADTs
author
Manuel M T Chakravarty
<chak@cse.unsw.edu.au>
Mon, 7 Aug 2006 15:16:34 +0000
(15:16 +0000)
committer
Manuel M T Chakravarty
<chak@cse.unsw.edu.au>
Mon, 7 Aug 2006 15:16:34 +0000
(15:16 +0000)
compiler/iface/IfaceSyn.lhs
patch
|
blob
|
history
diff --git
a/compiler/iface/IfaceSyn.lhs
b/compiler/iface/IfaceSyn.lhs
index
0801f10
..
ec5d544
100644
(file)
--- a/
compiler/iface/IfaceSyn.lhs
+++ b/
compiler/iface/IfaceSyn.lhs
@@
-288,7
+288,8
@@
pprIfaceConDecl tc
main_payload = ppr name <+> dcolon <+>
pprIfaceForAllPart (univ_tvs ++ ex_tvs) (eq_ctxt ++ ctxt) (ppr con_tau)
- eq_ctxt = [(IfaceEqPred (IfaceTyVar tv) ty) | (tv,ty) <- eq_spec]
+ eq_ctxt = [(IfaceEqPred (IfaceTyVar (occNameFS tv)) ty)
+ | (tv,ty) <- eq_spec]
con_tau = foldr1 IfaceFunTy (arg_tys ++ [tc_app])
tc_app = IfaceTyConApp (IfaceTc (LocalTop tc))
[IfaceTyVar tv | (tv,_) <- univ_tvs]