projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add comments about the -include-prelude flag for ghc -M
[ghc-hetmet.git]
/
compiler
/
main
/
PprTyThing.hs
diff --git
a/compiler/main/PprTyThing.hs
b/compiler/main/PprTyThing.hs
index
ea97495
..
51144ec
100644
(file)
--- a/
compiler/main/PprTyThing.hs
+++ b/
compiler/main/PprTyThing.hs
@@
-158,7
+158,7
@@
pprDataConDecl exts gadt_style show_label dataCon
-- printing out the dataCon as a type signature, in GADT style
pp_tau = foldr add pp_res_ty tys_w_strs
-- printing out the dataCon as a type signature, in GADT style
pp_tau = foldr add pp_res_ty tys_w_strs
- pp_res_ty = ppr_bndr tyCon <+> hsep (map GHC.pprParendType res_tys)
+ pp_res_ty = GHC.pprTypeApp (ppr_bndr tyCon) res_tys
add (str,ty) pp_ty = pprBangTy str ty <+> arrow <+> pp_ty
pprParendBangTy (strict,ty)
add (str,ty) pp_ty = pprBangTy str ty <+> arrow <+> pp_ty
pprParendBangTy (strict,ty)