patch applied (ghc-6.10/haddock2): Make visible names from ExportItems
Ian Lynagh <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.other |
|---|---|
| Message-ID | <[email protected]> |
Mon Dec 8 15:19:48 PST 2008 David Waern <[email protected]> * Make visible names from ExportItems Instead of a complicated calculation of visible names out of GHC's export items, we can get them straight out of the already calculated ExportItems. The ExportItems should represent exactly those items that are visible in an interface. If store all the exported sub-names in ExportDecl instead of only those with documentation, the calculation becomes very simple. So we do this change as well (should perhaps have been a separate patch). This should fix the problem with names from ghc-prim not appearing in the link environment. M ./src/Haddock/Backends/Html.hs -8 +8 M ./src/Haddock/Interface/Create.hs -57 +17 M ./src/Haddock/Interface/Rename.hs -1 +1 M ./src/Haddock/Types.hs -2 +2 View patch online: http://darcs.haskell.org/ghc-6.10/haddock2/_darcs/patches/20081208231948-a762e-57da43a325160c3fff5146da6d04b9352e820fa1.gz