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

Precise Haddock: Use Avails for export resolution #688

Merged
merged 15 commits into from
Oct 8, 2017

Conversation

alexbiehl
Copy link
Member

@alexbiehl alexbiehl commented Oct 4, 2017

@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
Copy link
Contributor

gbaz commented Feb 5, 2018

With this merged, should the linked issues be closed?

@gbaz
Copy link
Contributor

gbaz commented Feb 5, 2018

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

@alexbiehl
Copy link
Member Author

alexbiehl commented Feb 5, 2018

(@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
Copy link
Contributor

gbaz commented Feb 5, 2018

final question -- does this fix #223 ?

@alexbiehl
Copy link
Member Author

alexbiehl commented Feb 5, 2018 via email

@tfausak
Copy link

tfausak commented Feb 5, 2018

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

@hvr
Copy link
Member

hvr commented Feb 5, 2018

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

@tfausak
Copy link

tfausak commented Feb 5, 2018

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