Ticket #152 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Missing documentation when there is no signature

Reported by: tommd Owned by: waern
Priority: major Milestone:
Version: 2.9.2 Keywords:
Cc:

Description

Take the below code as an example:

module Test
        ( func
        ) where

-- | An internal value
value = 1

-- |An exported function
func = (+) value

Notice there is no haddock documentation when the signature for "func" is missing!

Change History

Changed 3 years ago by waern

  • owner set to waern
  • status changed from new to assigned
  • version changed from 2.8.0 to 2.9.2

What happens here is that func shows up but without the doc string. This is due to the fact that we have never properly implemented support for declarations without type signatures. The reason that they show up in the documentation at all nowadays is a side effect of Isaac Dupree's work on cross-package documentation. More work is needed to ensure we properly support these declarations.

Changed 3 years ago by waern

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