[commit: ghc] master: Prevent eager unification with type families. (3e1b882)

git at git.haskell.org git at git.haskell.org
Mon Mar 21 20:10:25 UTC 2016


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/3e1b8824c849d063c7354dbdf63ae2910cf0fdfc/ghc

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

commit 3e1b8824c849d063c7354dbdf63ae2910cf0fdfc
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.


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

3e1b8824c849d063c7354dbdf63ae2910cf0fdfc
 compiler/typecheck/TcType.hs                       | 16 +++--
 compiler/typecheck/TcUnify.hs                      | 82 +++++++++++++++++++++-
 testsuite/tests/indexed-types/should_compile/all.T |  1 -
 .../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, 159 insertions(+), 53 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 3e1b8824c849d063c7354dbdf63ae2910cf0fdfc


More information about the ghc-commits mailing list