aboutsummaryrefslogtreecommitdiff
path: root/src/HaddockHtml.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/HaddockHtml.hs')
-rw-r--r--src/HaddockHtml.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/HaddockHtml.hs b/src/HaddockHtml.hs
index 3d5a4c95..bfe19114 100644
--- a/src/HaddockHtml.hs
+++ b/src/HaddockHtml.hs
@@ -756,8 +756,8 @@ ppHsAType (HsTyTuple True l) = parenList . map ppHsType $ l
ppHsAType (HsTyTuple False l) = ubxParenList . map ppHsType $ l
ppHsAType (HsTyVar name) = ppHsName name
ppHsAType (HsTyCon name)
- | name == fun_tycon_name = parens $ ppHsQName name
- | otherwise = ppHsQName name
+ | name == fun_tycon_qname = parens $ ppHsQName name
+ | otherwise = ppHsQName name
ppHsAType (HsTyApp (HsTyCon (Qual _ (HsTyClsName (HsSpecial "[]")))) b )
= brackets $ ppHsType b
ppHsAType t = parens $ ppHsType t