[commit: ghc] wip/hasfield: Support combination of OverloadedLabels and RebindableSyntax (fixes #12243) (acd495d)

git at git.haskell.org git at git.haskell.org
Sat Oct 8 16:15:40 UTC 2016


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

On branch  : wip/hasfield
Link       : http://ghc.haskell.org/trac/ghc/changeset/acd495db07e72f4eaed0082b1cb44a124396baa0/ghc

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

commit acd495db07e72f4eaed0082b1cb44a124396baa0
Author: Adam Gundry <adam at well-typed.com>
Date:   Sat Oct 8 15:55:03 2016 +0100

    Support combination of OverloadedLabels and RebindableSyntax (fixes #12243)


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

acd495db07e72f4eaed0082b1cb44a124396baa0
 compiler/deSugar/Coverage.hs                       |  2 +-
 compiler/deSugar/DsExpr.hs                         |  2 +-
 compiler/deSugar/DsMeta.hs                         |  2 +-
 compiler/deSugar/Match.hs                          |  2 +-
 compiler/hsSyn/HsExpr.hs                           |  8 +++--
 compiler/parser/Parser.y                           |  2 +-
 compiler/rename/RnExpr.hs                          |  8 +++--
 compiler/typecheck/TcExpr.hs                       | 38 ++++++++++++++++------
 compiler/typecheck/TcHsSyn.hs                      |  4 +--
 compiler/typecheck/TcRnTypes.hs                    |  2 +-
 .../tests/overloadedrecflds/should_fail/all.T      |  2 ++
 .../should_fail/overloadedlabelsfail02.hs          |  3 ++
 .../should_fail/overloadedlabelsfail02.stderr      |  2 ++
 .../should_fail/overloadedlabelsfail03.hs          |  5 +++
 .../should_fail/overloadedlabelsfail03.stderr      | 10 ++++++
 .../tests/overloadedrecflds/should_run/T12243.hs   | 25 ++++++++++++++
 .../overloadedrecflds/should_run/T12243.stdout     |  2 ++
 testsuite/tests/overloadedrecflds/should_run/all.T |  1 +
 18 files changed, 97 insertions(+), 23 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 acd495db07e72f4eaed0082b1cb44a124396baa0


More information about the ghc-commits mailing list