[commit: ghc] ghc-8.0: Prevent eager unification with type families. (84ca17f)

git at git.haskell.org git at git.haskell.org
Thu Mar 24 00:52:32 UTC 2016


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

On branch  : ghc-8.0
Link       : http://ghc.haskell.org/trac/ghc/changeset/84ca17fcab570b8f01a419bdbf2587e688eca302/ghc

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

commit 84ca17fcab570b8f01a419bdbf2587e688eca302
Author: Richard Eisenberg <eir at cis.upenn.edu>
Date:   Fri Mar 18 22:36:34 2016 -0400

    Prevent eager unification with type families.
    
    See Note [Prevent unification with type families]
    in TcUnify for the details.
    
    (cherry picked from commit 3e1b8824c849d063c7354dbdf63ae2910cf0fdfc)


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

84ca17fcab570b8f01a419bdbf2587e688eca302
 compiler/typecheck/TcType.hs                       |  7 +-
 compiler/typecheck/TcUnify.hs                      | 82 +++++++++++++++++++++-
 testsuite/tests/indexed-types/should_compile/all.T |  2 +-
 .../tests/indexed-types/should_fail/T2693.stderr   | 17 ++---
 .../tests/indexed-types/should_fail/T4179.stderr   |  6 +-
 .../tests/indexed-types/should_fail/T5439.stderr   | 16 ++---
 .../tests/indexed-types/should_fail/T7354.stderr   |  9 +--
 .../tests/indexed-types/should_fail/T7729.stderr   |  8 +--
 .../tests/indexed-types/should_fail/T7786.stderr   | 12 ++--
 .../{should_compile => should_fail}/T7788.hs       |  0
 .../tests/indexed-types/should_fail/T7788.stderr   | 10 +++
 .../tests/indexed-types/should_fail/T9554.stderr   | 13 ++++
 .../tests/indexed-types/should_fail/T9662.stderr   | 16 +++--
 testsuite/tests/indexed-types/should_fail/all.T    |  1 +
 testsuite/tests/perf/compiler/all.T                |  3 +-
 testsuite/tests/typecheck/should_fail/T9260.stderr |  2 +-
 16 files changed, 156 insertions(+), 48 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 84ca17fcab570b8f01a419bdbf2587e688eca302


More information about the ghc-commits mailing list