Give preference to type over data constructors for doc comment links at renaming time.
Previously this was done in the backends. Also, warn when a doc comment refers to something that is in scope but which we don't have the .haddock file for. These changes mean we can make DocIdentifier [a] into DocIdentifier a.
Showing
- src/Haddock/Backends/Hoogle.hs 1 addition, 1 deletionsrc/Haddock/Backends/Hoogle.hs
- src/Haddock/Backends/LaTeX.hs 7 additions, 19 deletionssrc/Haddock/Backends/LaTeX.hs
- src/Haddock/Backends/Xhtml/DocMarkup.hs 6 additions, 19 deletionssrc/Haddock/Backends/Xhtml/DocMarkup.hs
- src/Haddock/Interface/Rename.hs 4 additions, 6 deletionssrc/Haddock/Interface/Rename.hs
- src/Haddock/Interface/Rn.hs 9 additions, 10 deletionssrc/Haddock/Interface/Rn.hs
- src/Haddock/InterfaceFile.hs 2 additions, 2 deletionssrc/Haddock/InterfaceFile.hs
- src/Haddock/Lex.x 5 additions, 5 deletionssrc/Haddock/Lex.x
- src/Haddock/Types.hs 3 additions, 2 deletionssrc/Haddock/Types.hs
- src/Haddock/Utils.hs 1 addition, 1 deletionsrc/Haddock/Utils.hs
Loading
Please register or sign in to comment