Fix #8958.
authorRichard Eisenberg <eir@cis.upenn.edu>
Sat, 5 Apr 2014 17:56:00 +0000 (13:56 -0400)
committerRichard Eisenberg <eir@cis.upenn.edu>
Sat, 5 Apr 2014 21:25:45 +0000 (17:25 -0400)
commitd468cd376ffc02cf9f4755275a316be914c482be
tree3ae0b3da074be5aab808d13658bb3b0d52bde3ae
parente81d110e7ddd381e53c3af4fbd261d29edd16725
Fix #8958.

We now do role inference on stupid datatype contexts, allowing a
lightweight role annotation syntax.
compiler/typecheck/TcTyClsDecls.lhs
compiler/typecheck/TcTyDecls.lhs
testsuite/tests/ghci/scripts/ghci031.stdout
testsuite/tests/rename/should_fail/rnfail055.stderr
testsuite/tests/roles/should_compile/T8958.hs [new file with mode: 0644]
testsuite/tests/roles/should_compile/T8958.stderr [new file with mode: 0644]
testsuite/tests/roles/should_compile/all.T