[commit: ghc] wip/spj-solver-branch: Fixing the constraint solver (88e4652)

git at git.haskell.org git at git.haskell.org
Fri Sep 2 10:51:05 UTC 2016


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

On branch  : wip/spj-solver-branch
Link       : http://ghc.haskell.org/trac/ghc/changeset/88e4652b545085e2f3e2b19dc5596ff89eafc293/ghc

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

commit 88e4652b545085e2f3e2b19dc5596ff89eafc293
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Fri Sep 2 11:09:58 2016 +0100

    Fixing the constraint solver
    
    This is in-flight work on fixing the constraint solver.
    In particular I'm working on situations where the
    constraint solver loops, which should never happen
    
      #12386 (only loosely related)
      #12522
      #12526
      #12444
      #12538
    
    This is NOT DONE and not ready for review.  I'm
    just committing it so I don't lose it.
    
    Current status
    
    Unexpected failures:
       hsc2hs/T12504.run                    T12504 [bad stdout] (normal)
       indexed-types/should_fail/T4179.run  T4179 [stderr mismatch] (normal)
       perf/compiler/T5837.run              T5837 [stderr mismatch] (normal)


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

88e4652b545085e2f3e2b19dc5596ff89eafc293
 compiler/typecheck/TcCanonical.hs                  |  63 +++------
 compiler/typecheck/TcFlatten.hs                    | 153 +++++++++++++--------
 compiler/typecheck/TcInteract.hs                   |  70 ++++++----
 compiler/typecheck/TcRnTypes.hs                    |   3 +-
 compiler/typecheck/TcSMonad.hs                     |  62 ++++++---
 .../tests/indexed-types/should_fail/T1897b.stderr  |   2 +-
 .../tests/indexed-types/should_fail/T2544.stderr   |  24 +---
 .../tests/indexed-types/should_fail/T2627b.stderr  |   4 +-
 .../tests/indexed-types/should_fail/T3330c.stderr  |   6 +-
 .../tests/indexed-types/should_fail/T6123.stderr   |   6 +-
 testsuite/tests/indexed-types/should_fail/T7786.hs |  16 ++-
 .../tests/indexed-types/should_fail/T7786.stderr   |  43 +++---
 .../tests/indexed-types/should_fail/T8227.stderr   |  11 +-
 testsuite/tests/perf/compiler/all.T                |   7 +-
 .../tests/typecheck/should_fail/ContextStack2.hs   |   2 +
 .../typecheck/should_fail/ContextStack2.stderr     |  13 --
 testsuite/tests/typecheck/should_fail/T5853.stderr |  31 +++--
 testsuite/tests/typecheck/should_fail/T8883.stderr |   2 +-
 testsuite/tests/typecheck/should_fail/T9260.stderr |  11 +-
 testsuite/tests/typecheck/should_fail/all.T        |   2 +-
 20 files changed, 291 insertions(+), 240 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 88e4652b545085e2f3e2b19dc5596ff89eafc293


More information about the ghc-commits mailing list