Fix #13202 by failing more eagerly in tcRnStmt
authorRichard Eisenberg <rae@cs.brynmawr.edu>
Thu, 16 Mar 2017 15:38:05 +0000 (11:38 -0400)
committerRichard Eisenberg <rae@cs.brynmawr.edu>
Fri, 17 Mar 2017 15:23:13 +0000 (11:23 -0400)
commitfa13c136e6e666b9a1393c1c0041020ad842c069
tree13661019891ef91b2a753420bed058cfbea6405d
parentdca44adb9e14992e0aed49cdfd4b2baa2182073b
Fix #13202 by failing more eagerly in tcRnStmt

test cases: ghci/scripts/T13202{,a}
compiler/typecheck/TcRnDriver.hs
testsuite/tests/ghci/scripts/T13202.script [new file with mode: 0644]
testsuite/tests/ghci/scripts/T13202.stderr [new file with mode: 0644]
testsuite/tests/ghci/scripts/T13202a.script [new file with mode: 0644]
testsuite/tests/ghci/scripts/T13202a.stderr [new file with mode: 0644]
testsuite/tests/ghci/scripts/all.T