aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Backends/Xhtml
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krz.gogolewski@gmail.com>2014-09-14 14:08:35 +0200
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2014-12-12 06:37:42 +0000
commit08332912f745dbd48c6e5fbf0c35e9828600b4db (patch)
treecf9f18c515f7f0656b8c031751acab01dd342434 /haddock-api/src/Haddock/Backends/Xhtml
parentcb8921ec1d6bc1b10833536457a9e25bad278a52 (diff)
Followup changes to addition of -fwarn-context-quantification (GHC Trac #4426)
Diffstat (limited to 'haddock-api/src/Haddock/Backends/Xhtml')
-rw-r--r--haddock-api/src/Haddock/Backends/Xhtml/Decl.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs b/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs
index 517ad64a..893c2a50 100644
--- a/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs
+++ b/haddock-api/src/Haddock/Backends/Xhtml/Decl.hs
@@ -651,6 +651,7 @@ ppConstrHdr forall_ tvs ctxt unicode qual
where
ppForall = case forall_ of
Explicit -> forallSymbol unicode <+> hsep (map (ppName Prefix) tvs) <+> toHtml ". "
+ Qualified -> noHtml
Implicit -> noHtml
@@ -813,7 +814,7 @@ ppForAllCon expl tvs cxt unicode qual
| otherwise = ppLContext cxt unicode qual
where
show_forall = not (null (hsQTvBndrs tvs)) && is_explicit
- is_explicit = case expl of {Explicit -> True; Implicit -> False}
+ is_explicit = case expl of {Explicit -> True; Implicit -> False; Qualified -> False}
forall_part = hsep (forallSymbol unicode : ppTyVars tvs) +++ dot