diff options
author | Richard Eisenberg <eir@cis.upenn.edu> | 2016-03-15 14:27:22 -0400 |
---|---|---|
committer | Richard Eisenberg <eir@cis.upenn.edu> | 2016-03-15 21:19:20 -0400 |
commit | aade111248dce0834ed83dc4f18c234967b32024 (patch) | |
tree | 6067058be2f2d181d85b6eab2574438f31998559 /testsuite/tests/dependent/should_fail/T11407.stderr | |
parent | 1eefedf7371778d1721d9af9247c2eff12ae7417 (diff) | |
download | haskell-aade111248dce0834ed83dc4f18c234967b32024.tar.gz |
Fix #11473.
I've added a check in the zonker for representation polymorphism.
I don't like having this be in the zonker, but I don't know where
else to put it. It can't go in TcValidity, because a clever enough
user could convince the solver to do bogus representation polymorphism
even though there's nothing obviously wrong in what they wrote.
Note that TcValidity doesn't run over *expressions*, which is where
this problem arises.
In any case, the check is simple and it works.
test case: dependent/should_fail/T11473
Diffstat (limited to 'testsuite/tests/dependent/should_fail/T11407.stderr')
0 files changed, 0 insertions, 0 deletions