diff options
author | alexbiehl <alex.biehl@gmail.com> | 2017-09-04 07:59:48 -0400 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2017-09-05 07:19:53 -0400 |
commit | 7e5d4a0e8e673f79b93ff63c4a4d0cd2b71e3063 (patch) | |
tree | 57859c3656d0ea19024c6a4ec235d9b33f45fe6d /compiler/main/GHC.hs | |
parent | b996e12d2c6a838a9c6d8096142f07de5cb7fedc (diff) | |
download | haskell-7e5d4a0e8e673f79b93ff63c4a4d0cd2b71e3063.tar.gz |
Remember the AvailInfo for each IE
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):
- https://github.com/haskell/haddock/issues/121
- https://github.com/haskell/haddock/issues/174
- https://github.com/haskell/haddock/issues/225
- https://github.com/haskell/haddock/issues/344
- https://github.com/haskell/haddock/issues/584
- https://github.com/haskell/haddock/issues/591
- https://github.com/haskell/haddock/issues/597
Updates haddock submodule.
Reviewers: austin, bgamari, ezyang
Reviewed By: bgamari, ezyang
Subscribers: rwbarton, thomie
Differential Revision: https://phabricator.haskell.org/D3864
Diffstat (limited to 'compiler/main/GHC.hs')
-rw-r--r-- | compiler/main/GHC.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/main/GHC.hs b/compiler/main/GHC.hs index 3ca07f1443..8a8735fa47 100644 --- a/compiler/main/GHC.hs +++ b/compiler/main/GHC.hs @@ -847,7 +847,7 @@ instance DesugaredMod DesugaredModule where coreModule m = dm_core_module m type ParsedSource = Located (HsModule GhcPs) -type RenamedSource = (HsGroup GhcRn, [LImportDecl GhcRn], Maybe [LIE GhcRn], +type RenamedSource = (HsGroup GhcRn, [LImportDecl GhcRn], Maybe [(LIE GhcRn, Avails)], Maybe LHsDocString) type TypecheckedSource = LHsBinds GhcTc |