Fix #11404
authorRichard Eisenberg <eir@cis.upenn.edu>
Mon, 11 Jan 2016 21:47:22 +0000 (16:47 -0500)
committerRichard Eisenberg <eir@cis.upenn.edu>
Fri, 15 Jan 2016 20:43:44 +0000 (15:43 -0500)
commit072191fe2db55eb3ede5d5a90b7f5eb6afde25bc
tree5435e113225c8cc5908f4ca4e633144aba27540f
parentbafbde7e239dd7353fb32cb2ff1b1c9139e4f45c
Fix #11404

We now check for unused variables one at a time, instead of
all at the top.

Test: dependent/should_compile/T11405
compiler/rename/RnSource.hs
compiler/rename/RnTypes.hs