aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Convert.hs
diff options
context:
space:
mode:
Diffstat (limited to 'haddock-api/src/Haddock/Convert.hs')
-rw-r--r--haddock-api/src/Haddock/Convert.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/haddock-api/src/Haddock/Convert.hs b/haddock-api/src/Haddock/Convert.hs
index 3410c7ba..511decae 100644
--- a/haddock-api/src/Haddock/Convert.hs
+++ b/haddock-api/src/Haddock/Convert.hs
@@ -338,7 +338,7 @@ synifyDataCon use_gadt_syntax dc =
then return $ noLoc $
ConDeclGADT { con_g_ext = noExt
, con_names = [name]
- , con_forall = True
+ , con_forall = noLoc True
, con_qvars = synifyTyVars (univ_tvs ++ ex_tvs)
, con_mb_cxt = Just ctx
, con_args = hat
@@ -347,7 +347,7 @@ synifyDataCon use_gadt_syntax dc =
else return $ noLoc $
ConDeclH98 { con_ext = noExt
, con_name = name
- , con_forall = True
+ , con_forall = noLoc True
, con_ex_tvs = map synifyTyVar ex_tvs
, con_mb_cxt = Just ctx
, con_args = hat