[commit: ghc] master: Remember the AvailInfo for each IE (7e5d4a0)

git at git.haskell.org git at git.haskell.org
Tue Sep 5 11:22:06 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/7e5d4a0e8e673f79b93ff63c4a4d0cd2b71e3063/ghc

>---------------------------------------------------------------

commit 7e5d4a0e8e673f79b93ff63c4a4d0cd2b71e3063
Author: alexbiehl <alex.biehl at gmail.com>
Date:   Mon Sep 4 07:59:48 2017 -0400

    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


>---------------------------------------------------------------

7e5d4a0e8e673f79b93ff63c4a4d0cd2b71e3063
 compiler/basicTypes/Avail.hs      |  4 +++-
 compiler/main/GHC.hs              |  2 +-
 compiler/main/HscMain.hs          |  3 ++-
 compiler/typecheck/TcBackpack.hs  |  2 +-
 compiler/typecheck/TcRnExports.hs | 36 ++++++++++++++++++++----------------
 compiler/typecheck/TcRnTypes.hs   |  6 ++++--
 utils/haddock                     |  2 +-
 7 files changed, 32 insertions(+), 23 deletions(-)

Diff suppressed because of size. To see it, use:

    git diff-tree --root --patch-with-stat --no-color --find-copies-harder --ignore-space-at-eol --cc 7e5d4a0e8e673f79b93ff63c4a4d0cd2b71e3063


More information about the ghc-commits mailing list