haddock icon indicating copy to clipboard operation
haddock copied to clipboard

Re-exported module documentation appears twice if imported qualified as well as unqualified

Open harendra-kumar opened this issue 2 years ago • 0 comments

If a module is imported qualified as well as unqualified then docs for re-export appear twice. For example:

module Streamly.Internal.Data.Array
    (
      module Streamly.Internal.Data.Array.Type
    )

where

import qualified Streamly.Internal.Data.Array.Type as A
import Streamly.Internal.Data.Array.Type

I noticed the docs for the entire module appearing twice and it was difficult to isolate what the problem was.

harendra-kumar avatar Jan 01 '24 03:01 harendra-kumar