Ticket #205 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

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

Changed 2 years ago by anonymous

  • milestone 2.10.0 deleted

Milestone 2.10.0 deleted

Changed 2 years ago by SimonHengel

  • owner set to SimonHengel
  • status changed from new to assigned

Changed 2 years ago by SimonHengel

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.