Opened 5 years ago

Closed 4 years ago

#6108 closed bug (fixed)

Haddock's prune option is not regarded for DEPRECATED things

Reported by: SimonHengel Owned by: waern
Priority: highest Milestone: 7.6.2
Component: Documentation Version: 7.4.2-rc1
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


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 disable-support-for-warnings branch).

Alternatively we could apply a fix for the issue. I have a patch set for that on my fix-warning-support branch. But it is not a trivial change.

Change History (7)

comment:1 Changed 5 years ago by SimonHengel

For reference, the corresponding issue on Haddock's trac.

comment:2 Changed 5 years ago by igloo

  • difficulty set to Unknown
  • Owner set to waern

This may be a blocker. I'm not sure what's going on, but I think David knows.

comment:3 Changed 5 years ago by igloo

  • Priority changed from normal to highest

comment:4 Changed 5 years ago by waern

This is important but not a blocker for the GHC release. We're working on a fix that will be pushed in the next couple of days.

comment:5 Changed 4 years ago by pcapriotti

  • Milestone set to 7.4.3

comment:6 Changed 4 years ago by igloo

  • Milestone changed from 7.4.3 to 7.6.2

comment:7 Changed 4 years ago by SimonHengel

  • Resolution set to fixed
  • Status changed from new to closed

This has already been fixed in Haddock.

Note: See TracTickets for help on using tickets.