Consider equality contexts exotic, uninferrable by "deriving"
authorRichard Eisenberg <eir@cis.upenn.edu>
Tue, 16 Dec 2014 22:15:49 +0000 (17:15 -0500)
committerRichard Eisenberg <eir@cis.upenn.edu>
Fri, 19 Dec 2014 15:02:30 +0000 (10:02 -0500)
commit02b4845e07ef7110b2f735f323eb8748903330ff
tree8e348ff19c7c4c79fe92dc7a5db51f658619bff6
parent5b8fa46ca37caa9ec83b217a697628135da34506
Consider equality contexts exotic, uninferrable by "deriving"

See comments in #8984. This takes back the fix for #6088.
compiler/typecheck/TcValidity.hs
testsuite/tests/indexed-types/should_compile/all.T
testsuite/tests/indexed-types/should_fail/T6088.hs [moved from testsuite/tests/indexed-types/should_compile/T6088.hs with 100% similarity]
testsuite/tests/indexed-types/should_fail/T6088.stderr [new file with mode: 0644]
testsuite/tests/indexed-types/should_fail/all.T