Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Precise Haddock: Use Avails for export resolution - #688

Merged
alexbiehl merged 15 commits into
haskell:ghc-headfrom
alexbiehl:pr/avail
Oct 8, 2017
Merged

alexbiehl merged 15 commits into
haskell:ghc-headfrom
alexbiehl:pr/avail

Conversation

@alexbiehl

@alexbiehl alexbiehl commented Oct 4, 2017 •

Copy link
Copy Markdown
Member

@alexbiehl
alexbiehl requested review from bgamari and hvr October 5, 2017 08:17
@alexbiehl alexbiehl changed the title Use Avails for export resolution Precise Haddock: Use Avails for export resolution Oct 5, 2017
@alexbiehl
alexbiehl merged commit e498b78 into haskell:ghc-head Oct 8, 2017
@gbaz

gbaz commented Feb 5, 2018

Copy link
Copy Markdown
Contributor

With this merged, should the linked issues be closed?

@gbaz

gbaz commented Feb 5, 2018

Copy link
Copy Markdown
Contributor

(also -- does this help #17 at all?)

@alexbiehl

alexbiehl commented Feb 5, 2018 •

Copy link
Copy Markdown
Member Author

(@gbaz yes and yes, with ghc/ghc@7e5d4a0#diff-b41195d34cc67bd181b2517f2010505a we know exactly which names are exported by which entry in the export list. If we find a module export we look at the import to check if the import is qualified or not. If it is we use the Avails associated with the module export entry. If it is unqualified we render the classic, full module export)

@gbaz

gbaz commented Feb 5, 2018

Copy link
Copy Markdown
Contributor

final question -- does this fix #223 ?

@alexbiehl

alexbiehl commented Feb 5, 2018 via email

Copy link
Copy Markdown
Member Author

@tfausak

tfausak commented Feb 5, 2018

Copy link
Copy Markdown

Thanks so much for fixing this long-standing bug, @alexbiehl! 🎉

@hvr

hvr commented Feb 5, 2018 •

Copy link
Copy Markdown
Member

So I guess encouraging publicly Haddock's maintainership pays off...

@tfausak

tfausak commented Feb 5, 2018

Copy link
Copy Markdown

I guess it does! I am very happy that this bug is fixed. Thanks again for taking the time to fix it, Alex! https://twitter.com/taylorfausak/status/960493800429883392

harpocrates pushed a commit that referenced this pull request Oct 1, 2019
The `ignore-exports` option has been broken since #688, as mentioned in #766 (comment). This PR fixes it.
alexbiehl-gc pushed a commit to alexbiehl/haddock that referenced this pull request Dec 8, 2020
The `ignore-exports` option has been broken since haskell#688, as mentioned in haskell#766 (comment). This PR fixes it.
hubot pushed a commit to ghc/ghc that referenced this pull request May 17, 2024
The `ignore-exports` option has been broken since haskell/haddock#688, as mentioned in haskell/haddock#766 (comment). This PR fixes it.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants