Ticket #205 (closed defect: fixed)
Prune is not regarded for DEPRECATED things
| Reported by: | SimonHengel | Owned by: | SimonHengel |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Version: | 2.9.4 | Keywords: | |
| Cc: |
Description
(only the current ghc-7.4 branch is affected)
Steps to reproduce:
{-# OPTIONS_HADDOCK prune #-}
module PruneWithWarning (foo, bar) where
foo :: Int
foo = 23
{-# DEPRECATED foo "use bar instead" #-}
bar :: Int
bar = 42
$ haddock -h PruneWithWarning.hs
Expected result: The generated documentation contains nothing.
Actual result: The generated documentation contains foo, together with a deprecation message.
Change History
Note: See
TracTickets for help on using
tickets.
