Opened 12 years ago

Closed 12 years ago

Last modified 48 years ago

#435 closed bug (Fixed)

haddock doesn't like records

Reported by: as49 Owned by: nobody
Priority: normal Milestone:
Component: Documentation Version: 6.4
Keywords: Cc:
Operating System: Architecture:
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


haddock fails with

~/current/sources/analyzer:$ haddock RecDemo.hs
Warning: RecDemo: the following names could not be
    Int Bool

Fail: Main.extractRecSel: unexpected (con)declHsConDecl
(SrcLoc 4 13) Foo [] [] [] Nothing

if a file contains (a) a record constructor with some
field selector elem1, (b) another, non-record
constructor (c) the data type is exported with only the
non-record constructor, (d) the selector elem1 is exported.

Example attached,

Change History (1)

comment:1 Changed 12 years ago by simonmar

Status: assignedclosed
Logged In: YES 

Fixed, thanks.
Note: See TracTickets for help on using tickets.