[Haddock] [haddock] #254: Unexported things are shown as exported

haddock haddock at projects.haskell.org
Thu Aug 29 16:39:20 BST 2013


#254: Unexported things are shown as exported
-------------------------+--------------------------------------------------
Reporter:  NeilMitchell  |       Owner:     
    Type:  defect        |      Status:  new
Priority:  major         |   Milestone:     
 Version:  2.12.0        |    Keywords:     
-------------------------+--------------------------------------------------
 Given:

 {{{
 -- M1.hs --
 {-# OPTIONS_HADDOCK hide #-}
 module M1 where
 foo :: Int
 foo = 0
 bar :: Int
 bar = 0

 -- M2.hs --
 module M2(module M1) where
 import M1(bar)
 }}}

 M2 only exports bar, but if I run haddock on M1/M2, then it shows M2
 exporting both foo and bar. I ran into this bug with Shake, and moved to
 explicit export lists to work around it.

-- 
Ticket URL: <http://trac.haskell.org/haddock/ticket/254>
haddock <http://www.haskell.org/haddock>
Haddock, The Haskell Documentation Tool


More information about the Haddock mailing list