[commit: ghc] wip/spj-tc-branch3: SPJ work in progress (d387268)

git at git.haskell.org git at git.haskell.org
Mon Oct 24 16:46:16 UTC 2016


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

On branch  : wip/spj-tc-branch3
Link       : http://ghc.haskell.org/trac/ghc/changeset/d38726877c85b686eb27fe99188a29f0f3865003/ghc

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

commit d38726877c85b686eb27fe99188a29f0f3865003
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Mon Oct 24 08:32:16 2016 +0100

    SPJ work in progress
    
    The main idea here is to generate Derived constraints
    only when we've failed to solve the Wanteds.  This is
    much mroe economical; often we don't need to generate
    any at all.  And the code is a lot simpler


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

d38726877c85b686eb27fe99188a29f0f3865003
 compiler/typecheck/TcCanonical.hs                  |  18 ++-
 compiler/typecheck/TcFlatten.hs                    |   7 +-
 compiler/typecheck/TcInteract.hs                   |  43 +++--
 compiler/typecheck/TcMType.hs                      |  20 ++-
 compiler/typecheck/TcRnTypes.hs                    |  37 +----
 compiler/typecheck/TcRules.hs                      |  11 +-
 compiler/typecheck/TcSMonad.hs                     | 174 ++++++++++++---------
 compiler/typecheck/TcSimplify.hs                   | 115 ++++++--------
 .../indexed-types/should_compile/T3017.stderr      |   2 +-
 .../tests/indexed-types/should_compile/T4338.hs    |  35 ++++-
 .../tests/indexed-types/should_fail/T4174.stderr   |   4 +-
 .../tests/indexed-types/should_fail/T4179.stderr   |   6 +-
 .../tests/typecheck/should_compile/Improvement.hs  |   4 +
 testsuite/tests/typecheck/should_compile/T6018.hs  |  13 ++
 .../tests/typecheck/should_compile/T6018.stderr    |   8 +-
 testsuite/tests/typecheck/should_fail/Makefile     |   5 +
 testsuite/tests/typecheck/should_fail/T5691.stderr |  10 +-
 .../tests/typecheck/should_fail/T7748a.stderr      |   6 +-
 18 files changed, 297 insertions(+), 221 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 d38726877c85b686eb27fe99188a29f0f3865003


More information about the ghc-commits mailing list