Opened 10 years ago

Closed 10 years ago

Last modified 46 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: Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):


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 10 years ago by simonmar

  • Status changed from assigned to closed
Logged In: YES 

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