Constrained types have kind * in validity check.
authorRichard Eisenberg <eir@cis.upenn.edu>
Mon, 11 Jan 2016 20:28:48 +0000 (15:28 -0500)
committerRichard Eisenberg <eir@cis.upenn.edu>
Fri, 15 Jan 2016 20:43:44 +0000 (15:43 -0500)
commitbafbde7e239dd7353fb32cb2ff1b1c9139e4f45c
tree386b9f4ebc1ee89028c2e0f6d65b8cec99a20dc2
parent39ea4b4b19ea65d05f0d946084b316d5f5d2e675
Constrained types have kind * in validity check.

This addresses #11405, but a deeper problem lurks.
Try test dependent/should_compile/T11405 and see comment:3
on the ticket.
compiler/typecheck/TcValidity.hs
testsuite/tests/dependent/should_compile/T11405.hs [new file with mode: 0644]
testsuite/tests/dependent/should_compile/all.T