haddock doesn't like records
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.
Trac metadata
Trac field |
Value |
Version |
6.4 |
Type |
Bug |
TypeOfFailure |
OtherFailure |
Priority |
normal |
Resolution |
ResolvedFixed |
Component |
Documentation |
Test case |
|
Differential revisions |
|
BlockedBy |
|
Related |
|
Blocking |
|
CC |
|
Operating system |
|
Architecture |
|