Fix #11797.
authorRichard Eisenberg <eir@cis.upenn.edu>
Wed, 6 Apr 2016 14:37:22 +0000 (16:37 +0200)
committerRichard Eisenberg <eir@cis.upenn.edu>
Tue, 12 Apr 2016 12:14:17 +0000 (08:14 -0400)
commitdd99f2ece1bd139be02beddc6dc672862ee5ae34
treee26a7a9155b4f3d8fab9543591ebb9be224e9742
parentb1084fd700e6bbe9d0d787046a6aabdb193982c4
Fix #11797.

DsMeta curiously omitted quantified tyvars in certain circumstances.
This patch means it doesn't.

Test case: th/T11797
compiler/deSugar/DsMeta.hs
docs/users_guide/8.0.1-notes.rst
testsuite/tests/th/T11797.hs [new file with mode: 0644]
testsuite/tests/th/T11797.stderr [new file with mode: 0644]
testsuite/tests/th/T8031.hs
testsuite/tests/th/all.T