Fix #11811.
authorRichard Eisenberg <eir@cis.upenn.edu>
Thu, 7 Apr 2016 14:44:06 +0000 (16:44 +0200)
committerRichard Eisenberg <eir@cis.upenn.edu>
Tue, 12 Apr 2016 12:14:17 +0000 (08:14 -0400)
commitb1084fd700e6bbe9d0d787046a6aabdb193982c4
tree2b0c3bdc0db8ce9c0de251be0dfd86c920522be2
parentf4446c5b963af8f3cc1693e2feab91dbe43d5237
Fix #11811.

Previously, I had forgotten to omit variables already in scope
from the TypeInType CUSK check. Simple enough to fix.

Test case: typecheck/should_compile/T11811
compiler/hsSyn/HsDecls.hs
compiler/rename/RnSource.hs
compiler/rename/RnTypes.hs
testsuite/tests/typecheck/should_compile/T11811.hs [new file with mode: 0644]
testsuite/tests/typecheck/should_compile/all.T