[commit: ghc] master: WIP on Doing a combined Step 1 and 3 for Trees That Grow (438dd1c)

git at git.haskell.org git at git.haskell.org
Wed Nov 8 15:51:22 UTC 2017


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

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

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

commit 438dd1cbba13d35f3452b4dcef3f94ce9a216905
Author: Alan Zimmerman <alan.zimm at gmail.com>
Date:   Sun Nov 5 21:49:11 2017 +0200

    WIP on Doing a combined Step 1 and 3 for Trees That Grow
    
    See https://ghc.haskell.org/trac/ghc/wiki/ImplementingTreesThatGrow
    
    Trees that grow extension points are added for
    - ValBinds
    - HsPat
    - HsLit
    - HsOverLit
    - HsType
    - HsTyVarBndr
    - HsAppType
    - FieldOcc
    - AmbiguousFieldOcc
    
    Updates haddock submodule
    
    Test Plan: ./validate
    
    Reviewers: shayan-najd, simonpj, austin, goldfire, bgamari
    
    Subscribers: goldfire, rwbarton, thomie, mpickering
    
    Differential Revision: https://phabricator.haskell.org/D4147


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

438dd1cbba13d35f3452b4dcef3f94ce9a216905
 compiler/deSugar/Check.hs                          |  53 +--
 compiler/deSugar/Coverage.hs                       |   8 +-
 compiler/deSugar/DsArrows.hs                       |  30 +-
 compiler/deSugar/DsExpr.hs                         |   7 +-
 compiler/deSugar/DsMeta.hs                         | 112 ++---
 compiler/deSugar/DsUtils.hs                        |  63 +--
 compiler/deSugar/Match.hs                          |  71 +--
 compiler/deSugar/MatchLit.hs                       |  27 +-
 compiler/hsSyn/Convert.hs                          | 163 +++----
 compiler/hsSyn/HsBinds.hs                          | 167 ++++---
 compiler/hsSyn/HsDecls.hs                          | 200 ++++-----
 compiler/hsSyn/HsExpr.hs                           | 248 ++++++-----
 compiler/hsSyn/HsExpr.hs-boot                      |  48 ++-
 compiler/hsSyn/HsExtension.hs                      | 330 ++++++++++----
 compiler/hsSyn/HsLit.hs                            |  71 ++-
 compiler/hsSyn/HsPat.hs                            | 300 ++++++++-----
 compiler/hsSyn/HsPat.hs-boot                       |   8 +-
 compiler/hsSyn/HsSyn.hs                            |   7 +-
 compiler/hsSyn/HsTypes.hs                          | 478 +++++++++++++--------
 compiler/hsSyn/HsUtils.hs                          | 227 +++++-----
 compiler/hsSyn/PlaceHolder.hs                      |   9 +-
 compiler/main/HscStats.hs                          |   2 +-
 compiler/main/InteractiveEval.hs                   |   3 +-
 compiler/parser/Parser.y                           |  99 ++---
 compiler/parser/RdrHsSyn.hs                        | 103 ++---
 compiler/rename/RnBinds.hs                         |  14 +-
 compiler/rename/RnExpr.hs                          |  46 +-
 compiler/rename/RnFixity.hs                        |   5 +-
 compiler/rename/RnNames.hs                         |  20 +-
 compiler/rename/RnPat.hs                           |  93 ++--
 compiler/rename/RnSource.hs                        |  14 +-
 compiler/rename/RnSplice.hs                        |  16 +-
 compiler/rename/RnSplice.hs-boot                   |   4 +-
 compiler/rename/RnTypes.hs                         | 283 ++++++------
 compiler/typecheck/Inst.hs                         |  16 +-
 compiler/typecheck/TcAnnotations.hs                |   3 +-
 compiler/typecheck/TcBinds.hs                      |  15 +-
 compiler/typecheck/TcDeriv.hs                      |   2 +-
 compiler/typecheck/TcEnv.hs                        |   6 +-
 compiler/typecheck/TcExpr.hs                       |  43 +-
 compiler/typecheck/TcGenDeriv.hs                   |  15 +-
 compiler/typecheck/TcGenFunctor.hs                 |   1 +
 compiler/typecheck/TcHsSyn.hs                      | 130 +++---
 compiler/typecheck/TcHsType.hs                     |  79 ++--
 compiler/typecheck/TcInstDcls.hs                   |   3 +-
 compiler/typecheck/TcPat.hs                        |  81 ++--
 compiler/typecheck/TcPatSyn.hs                     | 130 +++---
 compiler/typecheck/TcRnDriver.hs                   |  30 +-
 compiler/typecheck/TcTyClsDecls.hs                 |  12 +-
 compiler/typecheck/TcTyDecls.hs                    |   7 +-
 ghc/GHCi/UI/Info.hs                                |   4 +-
 .../parser/should_compile/DumpParsedAst.stderr     |  33 +-
 .../parser/should_compile/DumpRenamedAst.stderr    | 139 ++++--
 .../tests/parser/should_compile/T14189.stderr      |  13 +-
 testsuite/tests/perf/haddock/all.T                 |   3 +-
 testsuite/tests/quasiquotation/T7918.hs            |   4 +-
 utils/ghctags/Main.hs                              |  25 +-
 utils/haddock                                      |   2 +-
 58 files changed, 2433 insertions(+), 1692 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 438dd1cbba13d35f3452b4dcef3f94ce9a216905


More information about the ghc-commits mailing list