Re-add missing kind generalisation
authorSimon Peyton Jones <simonpj@microsoft.com>
Tue, 19 Jan 2016 13:18:39 +0000 (13:18 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Thu, 21 Jan 2016 10:07:12 +0000 (10:07 +0000)
commitc572430cdade1d8c66fa9c4f1f251dfce09243f0
tree5cc1d5511ec19a3d4ea0a67b441f0dfd48618dd5
parente604e916a9727a22a392062096ea947df5fbe2c6
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.
compiler/typecheck/TcBinds.hs
compiler/typecheck/TcHsType.hs
compiler/typecheck/TcPatSyn.hs
compiler/typecheck/TcTyClsDecls.hs
compiler/typecheck/TcValidity.hs
testsuite/tests/ghci/scripts/T7873.stdout
testsuite/tests/polykinds/T11459.hs [new file with mode: 0644]
testsuite/tests/polykinds/T11459.stderr [new file with mode: 0644]
testsuite/tests/polykinds/all.T
testsuite/tests/rename/should_fail/rnfail055.stderr