logo       

[ ghc-Bugs-1255023 ] haddock doesn't like records: msg#00044

lang.haskell.glasgow.bugs

Subject: [ ghc-Bugs-1255023 ] haddock doesn't like records

Bugs item #1255023, was opened at 2005-08-09 15:07
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1255023&group_id=8032

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: 6.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Axel Simon (as49)
Assigned to: Nobody/Anonymous (nobody)
Summary: haddock doesn't like records

Initial Comment:
haddock fails with

~/current/sources/analyzer:$ haddock RecDemo.hs
Warning: RecDemo: the following names could not be
resolved:
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,
Axel.


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1255023&group_id=8032


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise