[commit: ghc] ghc-8.0: Re-add missing kind generalisation (e7e2ac8)

git at git.haskell.org git at git.haskell.org
Thu Jan 21 12:29:07 UTC 2016


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

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

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

commit e7e2ac8b740264527dd530c35cbbb6b63dc93640
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Jan 19 13:18:39 2016 +0000

    Re-add missing kind generalisation
    
    When splitting H98/GADT syntax in ConDecl we lost a key
    kind-generalisation step.
    
    I also renamed tcHsTyVarBndrs to tcExplicitTKBnders, by analogy
    with tcImplicitTkBndrs.
    
    This fixes Trac #11459.
    
    Merge to 8.0.
    
    (cherry picked from commit c572430cdade1d8c66fa9c4f1f251dfce09243f0)


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

e7e2ac8b740264527dd530c35cbbb6b63dc93640
 compiler/typecheck/TcBinds.hs                      |  2 +-
 compiler/typecheck/TcHsType.hs                     | 18 ++++++-------
 compiler/typecheck/TcPatSyn.hs                     |  6 ++---
 compiler/typecheck/TcTyClsDecls.hs                 | 31 ++++++++++++----------
 compiler/typecheck/TcValidity.hs                   |  2 +-
 testsuite/tests/ghci/scripts/T7873.stdout          |  8 +++---
 testsuite/tests/polykinds/T11459.hs                | 14 ++++++++++
 testsuite/tests/polykinds/T11459.stderr            |  9 +++++++
 testsuite/tests/polykinds/all.T                    |  1 +
 .../tests/rename/should_fail/rnfail055.stderr      |  3 +--
 10 files changed, 60 insertions(+), 34 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 e7e2ac8b740264527dd530c35cbbb6b63dc93640


More information about the ghc-commits mailing list