Ticket #107 (closed defect: invalid)
Haddock do not generate doc for reexported name
| Reported by: | M | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Version: | 2.4.2 | Keywords: | |
| Cc: |
Description
I'm attaching an example of what I think is an error. It has ModuleA and ModuleB. ModuleB is supposed to be hidden. ModuleA imports ModuleB and reexports a ModuleB documented name. There's also a .cabal file, and I generate documentation using 'runhaskell Setup.hs haddock'. If .cabal says ModuleA and ModuleB are to be exposed, I have no problems, and ModuleA documentation shows correct documentation for reexported ModuleB name. But if I remove ModuleB from .cabal list of exposed modules, documentation for ModuleA do not show documentation for reexported ModuleB name.
Why hidding ModuleB affects ModuleA documentation?
