[commit: ghc] master: WIP on combined Step 1 and 3 for Trees That Grow, HsExpr (e3ec2e7)

git at git.haskell.org git at git.haskell.org
Sat Nov 11 21:17:00 UTC 2017


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

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

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

commit e3ec2e7ae94524ebd111963faf34b84d942265b4
Author: Alan Zimmerman <alan.zimm at gmail.com>
Date:   Thu Nov 9 23:20:19 2017 +0200

    WIP on combined Step 1 and 3 for Trees That Grow, HsExpr
    
    See https://ghc.haskell.org/trac/ghc/wiki/ImplementingTreesThatGrow
    
    Trees that grow extension points are added for
    - HsExpr
    
    Updates haddock submodule
    
    Test Plan: ./validate
    
    Reviewers: bgamari, goldfire
    
    Subscribers: rwbarton, thomie, shayan-najd, mpickering
    
    Differential Revision: https://phabricator.haskell.org/D4177


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

e3ec2e7ae94524ebd111963faf34b84d942265b4
 compiler/deSugar/Check.hs                          |   8 +-
 compiler/deSugar/Coverage.hs                       | 151 ++++---
 compiler/deSugar/DsArrows.hs                       |  17 +-
 compiler/deSugar/DsExpr.hs                         | 112 ++---
 compiler/deSugar/DsGRHSs.hs                        |  15 +-
 compiler/deSugar/DsMeta.hs                         |  51 ++-
 compiler/deSugar/Match.hs                          |  32 +-
 compiler/deSugar/MatchLit.hs                       |   8 +-
 compiler/deSugar/PmExpr.hs                         |  37 +-
 compiler/hsSyn/Convert.hs                          |  78 ++--
 compiler/hsSyn/HsExpr.hs                           | 480 +++++++++++++--------
 compiler/hsSyn/HsExtension.hs                      | 122 +++++-
 compiler/hsSyn/HsPat.hs                            |  10 -
 compiler/hsSyn/HsUtils.hs                          | 174 ++++----
 compiler/hsSyn/PlaceHolder.hs                      |   6 -
 compiler/main/InteractiveEval.hs                   |   2 +-
 compiler/parser/Parser.y                           | 147 ++++---
 compiler/parser/RdrHsSyn.hs                        | 133 +++---
 compiler/rename/RnEnv.hs                           |   4 +-
 compiler/rename/RnExpr.hs                          | 200 ++++-----
 compiler/rename/RnPat.hs                           |   6 +-
 compiler/rename/RnSource.hs                        |  15 +-
 compiler/rename/RnSplice.hs                        |  18 +-
 compiler/rename/RnTypes.hs                         |  41 +-
 compiler/typecheck/Inst.hs                         |   6 +-
 compiler/typecheck/TcBinds.hs                      |   4 +-
 compiler/typecheck/TcExpr.hs                       | 205 ++++-----
 compiler/typecheck/TcGenDeriv.hs                   |  10 +-
 compiler/typecheck/TcHsSyn.hs                      | 146 ++++---
 compiler/typecheck/TcInstDcls.hs                   |  18 +-
 compiler/typecheck/TcMatches.hs                    |  19 +-
 compiler/typecheck/TcPatSyn.hs                     |  32 +-
 compiler/typecheck/TcRnDriver.hs                   |   9 +-
 compiler/typecheck/TcRnTypes.hs                    |  91 ++--
 compiler/typecheck/TcSplice.hs                     |   9 +-
 compiler/typecheck/TcTyDecls.hs                    |   6 +-
 ghc/GHCi/UI.hs                                     |   4 +-
 ghc/GHCi/UI/Info.hs                                |   8 +-
 testsuite/tests/ghc-api/annotations/parseTree.hs   |   6 +-
 .../tests/ghc-api/annotations/stringSource.hs      |   6 +-
 testsuite/tests/ghc-api/annotations/t11430.hs      |   2 +-
 .../parser/should_compile/DumpParsedAst.stderr     |   3 +
 .../parser/should_compile/DumpRenamedAst.stderr    |   3 +
 .../should_compile/DumpTypecheckedAst.stderr       |  73 ++++
 testsuite/tests/perf/haddock/all.T                 |   3 +-
 testsuite/tests/quasiquotation/T7918.hs            |   2 +-
 utils/haddock                                      |   2 +-
 47 files changed, 1452 insertions(+), 1082 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 e3ec2e7ae94524ebd111963faf34b84d942265b4


More information about the ghc-commits mailing list