Check that an associated type mentions at least one type variable from the class
authorSimon Peyton Jones <simonpj@microsoft.com>
Mon, 9 Jun 2014 12:28:51 +0000 (13:28 +0100)
committerSimon Peyton Jones <simonpj@microsoft.com>
Mon, 9 Jun 2014 12:28:51 +0000 (13:28 +0100)
commit66bddbb27fd9c383f85005b8c6e1961d25d7a7dd
treeff6a746cc2becda5c18ce82bf3e65391756d2b3d
parentc0258176ad255ac42a68df75ac4287630a6c82c0
Check that an associated type mentions at least one type variable from the class

Fixes Trac #9167
compiler/typecheck/TcTyClsDecls.lhs
testsuite/tests/indexed-types/should_fail/T2888.stderr [new file with mode: 0644]
testsuite/tests/indexed-types/should_fail/T9167.hs [new file with mode: 0644]
testsuite/tests/indexed-types/should_fail/T9167.stderr [new file with mode: 0644]
testsuite/tests/indexed-types/should_fail/all.T
testsuite/tests/typecheck/should_fail/tcfail116.stderr