Fix #11334.
authorRichard Eisenberg <eir@cis.upenn.edu>
Tue, 23 Feb 2016 02:47:32 +0000 (21:47 -0500)
committerRichard Eisenberg <eir@cis.upenn.edu>
Tue, 15 Mar 2016 01:44:17 +0000 (21:44 -0400)
commit84c773e1bc5c551b0f922c6fe9c70762d184a394
tree29545965f78b9b3e4e99cf3134a75bd8b89490a1
parente9bf7bb5cc9fb3f87dd05111aa23da76b86a8967
Fix #11334.

Now we fail when trying to default non-*-kinded kind variables
with -XNoPolyKinds.

test case: dependent/should_fail/T11334

[skip ci]
compiler/typecheck/TcMType.hs
compiler/types/TyCoRep.hs
testsuite/tests/dependent/should_fail/T11334.hs [new file with mode: 0644]
testsuite/tests/dependent/should_fail/T11334.stderr [new file with mode: 0644]
testsuite/tests/dependent/should_fail/all.T