aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src/Haddock/GhcUtils.hs
diff options
context:
space:
mode:
authorHécate Moonlight <Kleidukos@users.noreply.github.com>2021-01-14 16:04:20 +0100
committerGitHub <noreply@github.com>2021-01-14 16:04:20 +0100
commit911357bcd3eb2f1f03ba06831e07d45595b3a458 (patch)
tree4a36815315d0b97dd670811073e7dfe64529d99e /haddock-api/src/Haddock/GhcUtils.hs
parente7c225587eb59941adb1c46e3888245ae99281b4 (diff)
parent600e076140649cb392d063ad73eb015630f62ff1 (diff)
Merge pull request #1273 from hsyl20/wip/hsyl20/arrows
Fix after binder collect changes
Diffstat (limited to 'haddock-api/src/Haddock/GhcUtils.hs')
-rw-r--r--haddock-api/src/Haddock/GhcUtils.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/GhcUtils.hs b/haddock-api/src/Haddock/GhcUtils.hs
index 0a0211c9..b7e2cafa 100644
--- a/haddock-api/src/Haddock/GhcUtils.hs
+++ b/haddock-api/src/Haddock/GhcUtils.hs
@@ -164,7 +164,7 @@ getGADTConType (ConDeclH98 {}) = panic "getGADTConType"
getMainDeclBinderI :: HsDecl DocNameI -> [IdP DocNameI]
getMainDeclBinderI (TyClD _ d) = [tcdNameI d]
getMainDeclBinderI (ValD _ d) =
- case collectHsBindBinders d of
+ case collectHsBindBinders CollNoDictBinders d of
[] -> []
(name:_) -> [name]
getMainDeclBinderI (SigD _ d) = sigNameNoLoc d