#6108: Haddock's prune option is not regarded for DEPRECATED things
------------------------------+---------------------------------------------
Reporter: SimonHengel | Owner:
Type: bug | Status: new
Priority: normal | Component: Documentation
Version: 7.4.2-rc1 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Testcase:
Blockedby: | Blocking:
Related: |
------------------------------+---------------------------------------------
I introduced this regression when I extended Haddock, so that it adds
deprecation messages for deprecated things to the generated documentation.
This may not sound critical, but it is a rather common use case to prune
documentation for deprecated things. That way you can keep deprecated
stuff around for backward compatibility without cluttering the
documentation.
I'd tend to disable the feature for now (a patch set is on my
[https://github.com/sol/haddock/tree/disable-support-for-warnings disable-
support-for-warnings] branch).
Alternatively we could apply a fix for the issue. I have a patch set for
that on my [https://github.com/sol/haddock/tree/fix-warning-support fix-
warning-support] branch. But it is not a trivial change.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/6108>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs