Go back to having a doc, sub and decl map instead of one big decl map.
This setup makes more sense since when we add value bindings to the processed declarations (for type inference), we will have multiple declarations which should share documentation. Also, we already have a separate doc map for instances which we can now merge into the main doc map. Another benefit is that we don't need the DeclInfo type any longer.
Showing
- src/Documentation/Haddock.hs 0 additions, 1 deletionsrc/Documentation/Haddock.hs
- src/Haddock/GhcUtils.hs 1 addition, 1 deletionsrc/Haddock/GhcUtils.hs
- src/Haddock/Interface/AttachInstances.hs 3 additions, 6 deletionssrc/Haddock/Interface/AttachInstances.hs
- src/Haddock/Interface/Create.hs 115 additions, 117 deletionssrc/Haddock/Interface/Create.hs
- src/Haddock/Interface/Rename.hs 6 additions, 13 deletionssrc/Haddock/Interface/Rename.hs
- src/Haddock/InterfaceFile.hs 6 additions, 4 deletionssrc/Haddock/InterfaceFile.hs
- src/Haddock/Types.hs 18 additions, 14 deletionssrc/Haddock/Types.hs
Loading
Please register or sign in to comment