You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 3, 2024. It is now read-only.
Contrary to its documentation, Haddock.Interface.Create.moduleExports incorrectly assumes that for a module re-export all of its symbols are re-exported.
It would be interesting whether this was recently introduced or whether it was incorrectly implemented in the first place. Do you have any insights here?
commit fb43b30e5d2e04d0b6e997055b377cf2d67486d9
Author:DavidWaern<david.waern@gmail.com>Date:SunMay2221:40:212011+0000Break out fullContentsOf, give it a better name and some documentation
The documentation describes how we want this function to eventually behave,
once we have fixed a few problems with the current implementation.
Thanks for digging this up. I guess it would be useful to add the note in the commit message to the actual code. If you feel like hacking on this, a patch would be very appreciated ;)
So, if possible, use functions from the GHC API to do export and import resolution. I don't know whether such functions exist — could someone knowledgeable about the GHC API comment on this?
Activity
ghc-mirror commentedon May 8, 2014
Original reporter: sol@
It would be interesting whether this was recently introduced or whether it was incorrectly implemented in the first place. Do you have any insights here?
ghc-mirror commentedon May 8, 2014
Original reporter: roma@
No, it just was never fully implemented.
ghc-mirror commentedon May 8, 2014
Original reporter: sol@
Thanks for digging this up. I guess it would be useful to add the note in the commit message to the actual code. If you feel like hacking on this, a patch would be very appreciated ;)
ghc-mirror commentedon May 8, 2014
Original reporter: roma@
I might do eventually, but my work queue is already rather large atm :)
Also, (whoever will be working on this), note, that semantics of exports is a bit tricky and easy to get wrong. See e.g. http://hackage.haskell.org/trac/ghc/ticket/7469
So, if possible, use functions from the GHC API to do export and import resolution. I don't know whether such functions exist — could someone knowledgeable about the GHC API comment on this?
ghc-mirror commentedon May 8, 2014
Original reporter: sol@
No idea, maybe ask on glasgow-haskell-users?
ghc-mirror commentedon May 8, 2014
Original reporter: fuuzetsu@
Duplicate of #174