aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/Convert.hs
diff options
context:
space:
mode:
authorVladislav Zavialov <vlad.z.4096@gmail.com>2022-04-01 14:32:36 +0300
committerVladislav Zavialov <vlad.z.4096@gmail.com>2022-04-07 20:25:54 +0300
commit24208496649a02d5f87373052c430ea4a97842c5 (patch)
tree0e5d56ca0dd8d51248d065ba05ef9966ebb3069f /haddock-api/src/Haddock/Convert.hs
parentd504cd50d8b660c207573864890392f02a48ca54 (diff)
HsToken ConDeclGADT con_dcolon
Diffstat (limited to 'haddock-api/src/Haddock/Convert.hs')
-rw-r--r--haddock-api/src/Haddock/Convert.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/haddock-api/src/Haddock/Convert.hs b/haddock-api/src/Haddock/Convert.hs
index fd5300d2..ceefedf3 100644
--- a/haddock-api/src/Haddock/Convert.hs
+++ b/haddock-api/src/Haddock/Convert.hs
@@ -411,6 +411,7 @@ synifyDataCon use_gadt_syntax dc =
return $ noLocA $ ConDeclGADT
{ con_g_ext = noAnn
, con_names = [name]
+ , con_dcolon = noHsUniTok
, con_bndrs = noLocA outer_bndrs
, con_mb_cxt = ctx
, con_g_args = hat