[Haddock] [haddock] #205: Prune is not regarded for DEPRECATED things
haddock
haddock at projects.haskell.org
Fri May 11 06:28:11 BST 2012
#205: Prune is not regarded for DEPRECATED things
------------------------+---------------------------------------------------
Reporter: SimonHengel | Owner:
Type: defect | Status: new
Priority: major | Milestone: 2.10.0
Version: 2.9.4 | Keywords:
------------------------+---------------------------------------------------
(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.
--
Ticket URL: <http://trac.haskell.org/haddock/ticket/205>
haddock <http://www.haskell.org/haddock>
Haddock, The Haskell Documentation Tool
More information about the Haddock
mailing list