[commit: ghc] wip/T15809: Yet more on family-instance checking (e584a5b)

git at git.haskell.org git at git.haskell.org
Fri Nov 23 17:35:52 UTC 2018


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

On branch  : wip/T15809
Link       : http://ghc.haskell.org/trac/ghc/changeset/e584a5bd5ed7260bc27c06e0365075e13eed8a5e/ghc

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

commit e584a5bd5ed7260bc27c06e0365075e13eed8a5e
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Thu Nov 22 14:24:28 2018 +0000

    Yet more on family-instance checking
    
    Following conversation with Richard yesterday.
    
    Very close now.  Comments to be written.


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

e584a5bd5ed7260bc27c06e0365075e13eed8a5e
 compiler/hsSyn/HsDecls.hs                          |  57 +++----
 compiler/hsSyn/HsTypes.hs                          |  69 ++++----
 compiler/nativeGen/CFG.hs                          |   1 -
 compiler/parser/RdrHsSyn.hs                        |   8 +-
 compiler/typecheck/Inst.hs                         |   2 +-
 compiler/typecheck/TcHsType.hs                     |   5 +-
 compiler/typecheck/TcInstDcls.hs                   | 125 ++++++++-------
 compiler/typecheck/TcMType.hs                      | 155 +++++++++---------
 compiler/typecheck/TcSigs.hs                       |  21 +--
 compiler/typecheck/TcTyClsDecls.hs                 | 173 +++++++++++++--------
 compiler/types/Unify.hs                            |  43 +++--
 .../should_fail/ExplicitForAllFams4b.hs            |   1 +
 .../should_fail/ExplicitForAllFams4b.stderr        |  54 +++++--
 .../indexed-types/should_fail/SimpleFail9.stderr   |   2 +-
 .../tests/indexed-types/should_fail/T12041.stderr  |  11 +-
 .../tests/indexed-types/should_fail/T13972.hs      |   6 +
 .../tests/indexed-types/should_fail/T13972.stderr  |   7 -
 .../tests/indexed-types/should_fail/T14045a.hs     |   5 +
 .../tests/indexed-types/should_fail/T14045a.stderr |   7 -
 testsuite/tests/indexed-types/should_fail/T9160.hs |   1 +
 .../tests/indexed-types/should_fail/T9160.stderr   |  13 +-
 testsuite/tests/indexed-types/should_fail/all.T    |   4 +-
 .../tests/partial-sigs/should_fail/T14040a.stderr  |   8 +-
 testsuite/tests/polykinds/T14450.stderr            |  12 +-
 testsuite/tests/polykinds/T14846.stderr            |  36 +++--
 25 files changed, 446 insertions(+), 380 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 e584a5bd5ed7260bc27c06e0365075e13eed8a5e


More information about the ghc-commits mailing list