diff options
author | Ben Gamari <ben@smart-cactus.org> | 2020-01-29 13:00:44 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-29 13:00:44 -0500 |
commit | 42418f165ab8a8f9ac61676d8600c057cb71e12f (patch) | |
tree | ee7d7d2733df8988f4fd37b451b6a6799b0fb2b8 /haddock-api/src/Haddock/Backends/Xhtml.hs | |
parent | e2c0a757f5aae215d89e464a7e45f9777c27c8f0 (diff) | |
parent | 1740bdda25e72770fcdd3973862058472486a1a3 (diff) |
Merge pull request #1125 from haskell/wip/T17566-take-two
Changes for GHC#17566
Diffstat (limited to 'haddock-api/src/Haddock/Backends/Xhtml.hs')
-rw-r--r-- | haddock-api/src/Haddock/Backends/Xhtml.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/haddock-api/src/Haddock/Backends/Xhtml.hs b/haddock-api/src/Haddock/Backends/Xhtml.hs index 9add4cae..9e267150 100644 --- a/haddock-api/src/Haddock/Backends/Xhtml.hs +++ b/haddock-api/src/Haddock/Backends/Xhtml.hs @@ -402,7 +402,7 @@ ppJsonIndex odir maybe_source_url maybe_wiki_url unicode pkg qual_opt ifaces = d exportSubs _ = [] exportName :: ExportItem DocNameI -> [IdP DocNameI] - exportName ExportDecl { expItemDecl } = getMainDeclBinder (unLoc expItemDecl) + exportName ExportDecl { expItemDecl } = getMainDeclBinderI (unLoc expItemDecl) exportName ExportNoDecl { expItemName } = [expItemName] exportName _ = [] |