Keep kind-inconsistent Given type equalities (fixes Trac #8705)
authorSimon Peyton Jones <simonpj@microsoft.com>
Tue, 18 Feb 2014 11:07:36 +0000 (11:07 +0000)
committerSimon Peyton Jones <simonpj@microsoft.com>
Tue, 18 Feb 2014 11:09:11 +0000 (11:09 +0000)
commit89d2c048c81020a701ac94d949b4d6f1ced37cfa
treeaa9d93952e1d666e893bd1a70e184252a3510be8
parentcd3a3a2da22116a8abcb5133b5c59959bf44cb42
Keep kind-inconsistent Given type equalities (fixes Trac #8705)

I was too eager when fixing Trac #8566, and dropped too many
equalities on the floor, thereby causing Trac #8705.

The fix is easy: delete code.  Lots of new comments!
compiler/typecheck/TcSMonad.lhs
testsuite/tests/polykinds/T8705.hs [new file with mode: 0644]
testsuite/tests/polykinds/all.T