Ignore names introduced "implicitly" in unused-variable warnings (Fix #4404)
authorMax Bolingbroke <batterseapower@hotmail.com>
Sat, 2 Apr 2011 15:52:33 +0000 (16:52 +0100)
committerMax Bolingbroke <batterseapower@hotmail.com>
Sat, 2 Apr 2011 15:52:33 +0000 (16:52 +0100)
commit41dc5190d5ffec988834fa055f407157c1e1022b
tree2d40a42bcf638513fc39385afbaf936700da1569
parent376bb624b0d66d4f2015ded40c46b3ea7a8263aa
Ignore names introduced "implicitly" in unused-variable warnings (Fix #4404)

We collect variables introduced by the {...} part of a let-like record wildcard
pattern and do not warn if the user then doesn't actually use them.
compiler/hsSyn/HsUtils.lhs
compiler/rename/RnBinds.lhs
compiler/rename/RnExpr.lhs