Fix #11648.
authorRichard Eisenberg <eir@cis.upenn.edu>
Sun, 13 Mar 2016 01:59:44 +0000 (20:59 -0500)
committerRichard Eisenberg <eir@cis.upenn.edu>
Tue, 15 Mar 2016 03:50:52 +0000 (23:50 -0400)
commit55577a9130738932d022d442d0773ffd79d0945d
tree6082ac951397214e060c674307c9dead5f9382f5
parente7a8cb145c2450ae12abfb9e30a2b7c1544abf67
Fix #11648.

We now check that a CUSK is really a CUSK and issue an error if
it isn't. This also involves more solving and zonking in
kcHsTyVarBndrs, which was the outright bug reported in #11648.

Test cases: polykinds/T11648{,b}

This updates the haddock submodule.

[skip ci]
25 files changed:
compiler/deSugar/DsMeta.hs
compiler/hsSyn/Convert.hs
compiler/hsSyn/HsDecls.hs
compiler/hsSyn/HsTypes.hs
compiler/parser/RdrHsSyn.hs
compiler/rename/RnSource.hs
compiler/rename/RnTypes.hs
compiler/typecheck/TcHsType.hs
compiler/typecheck/TcMType.hs
compiler/typecheck/TcTyClsDecls.hs
compiler/typecheck/TcType.hs
compiler/typecheck/TcValidity.hs
docs/users_guide/glasgow_exts.rst
testsuite/tests/dependent/should_compile/KindLevels.hs
testsuite/tests/dependent/should_fail/InferDependency.hs [new file with mode: 0644]
testsuite/tests/dependent/should_fail/InferDependency.stderr [new file with mode: 0644]
testsuite/tests/dependent/should_fail/KindLevelsB.hs [new file with mode: 0644]
testsuite/tests/dependent/should_fail/KindLevelsB.stderr [new file with mode: 0644]
testsuite/tests/dependent/should_fail/all.T
testsuite/tests/polykinds/T11648.hs [new file with mode: 0644]
testsuite/tests/polykinds/T11648b.hs [new file with mode: 0644]
testsuite/tests/polykinds/T11648b.stderr [new file with mode: 0644]
testsuite/tests/polykinds/T6039.stderr [new file with mode: 0644]
testsuite/tests/polykinds/all.T
utils/haddock