[commit: ghc] master: TTG : complete for balance of hsSyn AST (c3823cb)

git at git.haskell.org git at git.haskell.org
Fri Apr 27 13:39:11 UTC 2018


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

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

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

commit c3823cba2147c74b2c727b5458b9e95350496988
Author: Alan Zimmerman <alan.zimm at gmail.com>
Date:   Wed Apr 18 23:55:14 2018 +0200

    TTG : complete for balance of hsSyn AST
    
    Summary:
    - remove PostRn/PostTc fields
    - remove the HsVect In/Out distinction for Type, Class and Instance
    - remove PlaceHolder in favour of NoExt
    - Simplify OutputableX constraint
    
    Updates haddock submodule
    
    Test Plan: ./validate
    
    Reviewers: goldfire, bgamari
    
    Subscribers: goldfire, thomie, mpickering, carter
    
    Differential Revision: https://phabricator.haskell.org/D4625


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

c3823cba2147c74b2c727b5458b9e95350496988
 compiler/deSugar/Check.hs                          |  24 +-
 compiler/deSugar/Coverage.hs                       |  87 +--
 compiler/deSugar/Desugar.hs                        |  23 +-
 compiler/deSugar/DsArrows.hs                       |  44 +-
 compiler/deSugar/DsExpr.hs                         |  43 +-
 compiler/deSugar/DsForeign.hs                      |   5 +-
 compiler/deSugar/DsGRHSs.hs                        |  16 +-
 compiler/deSugar/DsListComp.hs                     |  52 +-
 compiler/deSugar/DsMeta.hs                         | 154 +++--
 compiler/deSugar/Match.hs                          |  15 +-
 compiler/hsSyn/Convert.hs                          | 214 +++----
 compiler/hsSyn/HsBinds.hs                          |  81 +--
 compiler/hsSyn/HsDecls.hs                          | 623 ++++++++++++++-------
 compiler/hsSyn/HsExpr.hs                           | 389 +++++++------
 compiler/hsSyn/HsExpr.hs-boot                      |   4 +-
 compiler/hsSyn/HsExtension.hs                      | 613 +++++++++++++++-----
 compiler/hsSyn/HsImpExp.hs                         |  99 ++--
 compiler/hsSyn/HsInstances.hs                      |  31 +-
 compiler/hsSyn/HsLit.hs                            |  15 +-
 compiler/hsSyn/HsPat.hs                            |  71 +--
 compiler/hsSyn/HsTypes.hs                          | 225 +++++---
 compiler/hsSyn/HsUtils.hs                          | 167 +++---
 compiler/hsSyn/PlaceHolder.hs                      |  21 +-
 compiler/main/HeaderInfo.hs                        |   3 +-
 compiler/main/HscMain.hs                           |   5 +-
 compiler/main/HscStats.hs                          |  11 +-
 compiler/main/InteractiveEval.hs                   |   4 +-
 compiler/parser/Parser.y                           | 163 +++---
 compiler/parser/RdrHsSyn.hs                        | 174 +++---
 compiler/rename/RnBinds.hs                         |  27 +-
 compiler/rename/RnExpr.hs                          | 152 ++---
 compiler/rename/RnNames.hs                         |  71 ++-
 compiler/rename/RnPat.hs                           |  10 +-
 compiler/rename/RnSource.hs                        | 259 +++++----
 compiler/rename/RnSplice.hs                        |   6 +-
 compiler/rename/RnTypes.hs                         |  39 +-
 compiler/typecheck/TcAnnotations.hs                |   3 +-
 compiler/typecheck/TcArrows.hs                     |  34 +-
 compiler/typecheck/TcBinds.hs                      |  28 +-
 compiler/typecheck/TcDefaults.hs                   |  14 +-
 compiler/typecheck/TcDeriv.hs                      |  18 +-
 compiler/typecheck/TcEnv.hs                        |   7 +
 compiler/typecheck/TcExpr.hs                       |   1 +
 compiler/typecheck/TcForeign.hs                    |   4 +-
 compiler/typecheck/TcHsSyn.hs                      | 150 ++---
 compiler/typecheck/TcHsType.hs                     |  41 +-
 compiler/typecheck/TcInstDcls.hs                   |  19 +-
 compiler/typecheck/TcMatches.hs                    | 103 ++--
 compiler/typecheck/TcPat.hs                        |   9 +-
 compiler/typecheck/TcPatSyn.hs                     |  13 +-
 compiler/typecheck/TcRnDriver.hs                   |  47 +-
 compiler/typecheck/TcRnExports.hs                  |  58 +-
 compiler/typecheck/TcRnTypes.hs                    |   5 +-
 compiler/typecheck/TcRules.hs                      |  21 +-
 compiler/typecheck/TcSigs.hs                       |   6 +-
 compiler/typecheck/TcSplice.hs                     |   8 +-
 compiler/typecheck/TcTyClsDecls.hs                 |  71 ++-
 compiler/typecheck/TcTyDecls.hs                    |   2 +-
 ghc/GHCi/UI/Info.hs                                |   2 +-
 testsuite/tests/ghc-api/T6145.hs                   |   2 +-
 .../tests/ghc-api/annotations/stringSource.hs      |   6 +-
 testsuite/tests/ghc-api/annotations/t11430.hs      |   6 +-
 .../parser/should_compile/DumpParsedAst.stderr     | 100 ++--
 .../parser/should_compile/DumpRenamedAst.stderr    | 170 +++---
 .../should_compile/DumpTypecheckedAst.stderr       | 180 +++---
 .../tests/parser/should_compile/T14189.stderr      |  25 +-
 utils/ghctags/Main.hs                              |   5 +-
 utils/haddock                                      |   2 +-
 68 files changed, 3139 insertions(+), 1961 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 c3823cba2147c74b2c727b5458b9e95350496988


More information about the ghc-commits mailing list