patch applied (ghc-6.10/haddock2): Bug fix
Ian Lynagh <[email protected]>
| Newsgroups | gmane.comp.lang.haskell.cvs.other |
|---|---|
| Message-ID | <[email protected]> |
Fri Feb 27 13:37:20 PST 2009 David Waern <[email protected]> * Bug fix We tried to filter out subordinates that were already exported through their parent. This didn't work properly since we were in some cases looking at the grand-parent and not the parent. We now properly compute all the parent-child relations of a declaration, and use this information to get the parent of a subordinate. We also didn't consider record fields with multiple parents. This is now handled correctly. We don't currently support separately exported associated types. But when we do, they should be handled correctly by this process too. Also slightly improved the warning message that we give when filtering out subordinates. M ./src/Haddock/GHC/Utils.hs +65 M! ./src/Haddock/Interface/Create.hs -8 +10 View patch online: http://darcs.haskell.org/ghc-6.10/haddock2/_darcs/patches/20090227213720-a762e-582c3ab8aba2e33cf383fb5119967362843f4d18.gz