[commit: ghc] master: RnEnv refactoring (a3873e8)

git at git.haskell.org git at git.haskell.org
Thu May 11 22:40:32 UTC 2017


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

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

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

commit a3873e8cdec8fc966e91ebe024808376a4077e2b
Author: Matthew Pickering <matthewtpickering at gmail.com>
Date:   Thu May 11 22:21:43 2017 +0100

    RnEnv refactoring
    
    Summary: Lots of refactoring in RnEnv to reduce code duplication.
    
    Reviewers: austin, bgamari
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie
    
    GHC Trac Issues: #13545
    
    Differential Revision: https://phabricator.haskell.org/D3507


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

a3873e8cdec8fc966e91ebe024808376a4077e2b
 compiler/basicTypes/RdrName.hs                     |   7 +-
 compiler/parser/RdrHsSyn.hs                        |   4 +-
 compiler/rename/RnEnv.hs                           | 459 +++++++++++++--------
 compiler/rename/RnExpr.hs                          |  12 +-
 compiler/rename/RnPat.hs                           |   6 +-
 compiler/rename/RnUtils.hs                         |   2 +-
 compiler/typecheck/TcRnExports.hs                  | 219 ++--------
 compiler/typecheck/TcRnMonad.hs                    |   6 +-
 testsuite/tests/rename/should_compile/LookupSub.hs |  11 +
 .../tests/rename/should_compile/LookupSubA.hs      |   4 +
 .../tests/rename/should_compile/LookupSubB.hs      |   3 +
 testsuite/tests/rename/should_compile/all.T        |   1 +
 12 files changed, 357 insertions(+), 377 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 a3873e8cdec8fc966e91ebe024808376a4077e2b


More information about the ghc-commits mailing list