aboutsummaryrefslogtreecommitdiff
path: root/src/Haddock/Backends/Xhtml
diff options
context:
space:
mode:
authorKrzysztof Gogolewski <krz.gogolewski@gmail.com>2014-09-14 14:08:35 +0200
committerKrzysztof Gogolewski <krz.gogolewski@gmail.com>2014-09-14 17:17:09 +0200
commit4023817d7c0e46db012ba2eea28022626841ca9b (patch)
treeb05b5087ce50b7f40fe9ef5787fa63a6edfe3be0 /src/Haddock/Backends/Xhtml
parentc3a7d4701ee64f6c29b95a6bed519f6c16b9bffd (diff)
Followup changes to addition of -fwarn-context-quantification (GHC Trac #4426)
Diffstat (limited to 'src/Haddock/Backends/Xhtml')
-rw-r--r--src/Haddock/Backends/Xhtml/Decl.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Haddock/Backends/Xhtml/Decl.hs b/src/Haddock/Backends/Xhtml/Decl.hs
index 0429580c..829c6668 100644
--- a/src/Haddock/Backends/Xhtml/Decl.hs
+++ b/src/Haddock/Backends/Xhtml/Decl.hs
@@ -650,6 +650,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
@@ -812,7 +813,7 @@ ppForAll 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