This repository has been archived by the owner on Aug 3, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 238
Hidden constructors are exposed when using module reexports #591
Comments
I think what may be the right thing to do is to extend the renamed IE syntax to also record "expansions" for |
bgamari
pushed a commit
to bgamari/ghc
that referenced
this issue
Sep 5, 2017
This is another take on https://phabricator.haskell.org/D3844. This patch removes then need for haddock to reimplement the calculation of exported names from modules. Instead when renaming export lists ghc annotates each IE with its exported names. Haddocks current export logic has caused lots of trouble in the past (on the Github issue tracker): - haskell/haddock#121 - haskell/haddock#174 - haskell/haddock#225 - haskell/haddock#344 - haskell/haddock#584 - haskell/haddock#591 - haskell/haddock#597 Reviewers: austin, bgamari, ezyang Reviewed By: bgamari, ezyang Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3864
bgamari
pushed a commit
to bgamari/ghc
that referenced
this issue
Sep 5, 2017
This is another take on https://phabricator.haskell.org/D3844. This patch removes then need for haddock to reimplement the calculation of exported names from modules. Instead when renaming export lists ghc annotates each IE with its exported names. Haddocks current export logic has caused lots of trouble in the past (on the Github issue tracker): - haskell/haddock#121 - haskell/haddock#174 - haskell/haddock#225 - haskell/haddock#344 - haskell/haddock#584 - haskell/haddock#591 - haskell/haddock#597 Reviewers: austin, bgamari, ezyang Reviewed By: bgamari, ezyang Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3864
bgamari
pushed a commit
to bgamari/ghc
that referenced
this issue
Sep 5, 2017
This is another take on https://phabricator.haskell.org/D3844. This patch removes then need for haddock to reimplement the calculation of exported names from modules. Instead when renaming export lists ghc annotates each IE with its exported names. Haddocks current export logic has caused lots of trouble in the past (on the Github issue tracker): - haskell/haddock#121 - haskell/haddock#174 - haskell/haddock#225 - haskell/haddock#344 - haskell/haddock#584 - haskell/haddock#591 - haskell/haddock#597 Reviewers: austin, bgamari, ezyang Reviewed By: bgamari, ezyang Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3864
ghc-mirror
pushed a commit
to ghc/ghc
that referenced
this issue
Sep 5, 2017
This is another take on https://phabricator.haskell.org/D3844. This patch removes then need for haddock to reimplement the calculation of exported names from modules. Instead when renaming export lists ghc annotates each IE with its exported names. Haddocks current export logic has caused lots of trouble in the past (on the Github issue tracker): - haskell/haddock#121 - haskell/haddock#174 - haskell/haddock#225 - haskell/haddock#344 - haskell/haddock#584 - haskell/haddock#591 - haskell/haddock#597 Updates haddock submodule. Reviewers: austin, bgamari, ezyang Reviewed By: bgamari, ezyang Subscribers: rwbarton, thomie Differential Revision: https://phabricator.haskell.org/D3864
should be resolved by #688 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Here are the generated docs:

Here's the code for that module. You can see that the constructors are hidden.

A GHCI session proves that they are in fact hidden:
The associated code is here:
https://github.com/sannsyn/solr/tree/c49701f422c1ed21689757917548964ac312d4e8
The text was updated successfully, but these errors were encountered: