Fix #11723 and #11724.
authorRichard Eisenberg <eir@cis.upenn.edu>
Sat, 19 Mar 2016 21:19:04 +0000 (17:19 -0400)
committerRichard Eisenberg <eir@cis.upenn.edu>
Mon, 21 Mar 2016 18:32:39 +0000 (14:32 -0400)
commitd978c5ed93482473b81bbe52bedf37d45d1e1029
treeba82d26587635df7759c525ac0af4612825f6681
parent5c0c751ab2deb4b03b8a2055d4f60d2574cae32f
Fix #11723 and #11724.

Test cases: typecheck/should_fail/T1172{3,4}
compiler/typecheck/TcHsSyn.hs
compiler/typecheck/TcValidity.hs
docs/users_guide/glasgow_exts.rst
testsuite/tests/dependent/should_fail/T11473.stderr
testsuite/tests/typecheck/should_fail/T11723.hs [new file with mode: 0644]
testsuite/tests/typecheck/should_fail/T11723.stderr [new file with mode: 0644]
testsuite/tests/typecheck/should_fail/T11724.hs [new file with mode: 0644]
testsuite/tests/typecheck/should_fail/T11724.stderr [new file with mode: 0644]
testsuite/tests/typecheck/should_fail/all.T