[commit: ghc] master: Implement OverloadedLabels (7b962ba)

git at git.haskell.org git at git.haskell.org
Tue Nov 17 15:58:46 UTC 2015


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

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

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

commit 7b962bab384e2ae85b41d30f503c3d0295b0214f
Author: Adam Gundry <adam at well-typed.com>
Date:   Tue Nov 17 15:50:33 2015 +0100

    Implement OverloadedLabels
    
    See
    https://ghc.haskell.org/trac/ghc/wiki/Records/OverloadedRecordFields/OverloadedLabels
    for the big picture.
    
    Reviewers: goldfire, simonpj, austin, hvr, bgamari
    
    Reviewed By: simonpj, bgamari
    
    Subscribers: kosmikus, thomie, mpickering
    
    Differential Revision: https://phabricator.haskell.org/D1331


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

7b962bab384e2ae85b41d30f503c3d0295b0214f
 compiler/deSugar/Coverage.hs                       |  1 +
 compiler/deSugar/DsExpr.hs                         |  1 +
 compiler/deSugar/DsMeta.hs                         |  1 +
 compiler/deSugar/Match.hs                          |  1 +
 compiler/hsSyn/HsExpr.hs                           |  5 ++
 compiler/main/DynFlags.hs                          |  2 +
 compiler/parser/Lexer.x                            | 17 +++++-
 compiler/parser/Parser.y                           |  9 ++++
 compiler/prelude/PrelNames.hs                      | 15 ++++++
 compiler/rename/RnExpr.hs                          |  3 ++
 compiler/typecheck/TcEvidence.hs                   |  9 ++--
 compiler/typecheck/TcExpr.hs                       | 37 +++++++++++++
 compiler/typecheck/TcHsSyn.hs                      |  3 ++
 compiler/typecheck/TcRnTypes.hs                    |  3 ++
 libraries/base/GHC/OverloadedLabels.hs             | 48 +++++++++++++++++
 libraries/base/base.cabal                          |  1 +
 testsuite/tests/driver/T4437.hs                    |  3 +-
 testsuite/tests/overloadedrecflds/ghci/all.T       |  1 +
 .../ghci/overloadedlabelsghci01.script             | 12 +++++
 .../ghci/overloadedlabelsghci01.stdout             |  4 ++
 .../tests/overloadedrecflds/should_fail/all.T      |  1 +
 .../should_fail/overloadedlabelsfail01.hs          | 15 ++++++
 .../should_fail/overloadedlabelsfail01.stderr      | 31 +++++++++++
 .../should_run/OverloadedLabelsRun04_A.hs          |  8 +++
 testsuite/tests/overloadedrecflds/should_run/all.T |  6 +++
 .../should_run/overloadedlabelsrun01.hs            | 29 ++++++++++
 .../should_run/overloadedlabelsrun01.stdout}       |  3 +-
 .../should_run/overloadedlabelsrun02.hs            | 61 ++++++++++++++++++++++
 .../should_run/overloadedlabelsrun02.stdout        |  3 ++
 .../should_run/overloadedlabelsrun03.hs            | 21 ++++++++
 .../should_run/overloadedlabelsrun03.stdout        |  2 +
 .../should_run/overloadedlabelsrun04.hs            | 13 +++++
 .../should_run/overloadedlabelsrun04.stdout        |  1 +
 33 files changed, 363 insertions(+), 7 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 7b962bab384e2ae85b41d30f503c3d0295b0214f


More information about the ghc-commits mailing list