Fix Trac #3221: renamer warnings for deriving clauses
authorsimonpj@microsoft.com <unknown>
Wed, 27 May 2009 18:21:57 +0000 (18:21 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 27 May 2009 18:21:57 +0000 (18:21 +0000)
commit685f631451c4e6d8ebb6e31decb935db675f338e
tree305632e3842b639075c3504b2e2b602a54f95bcd
parent389cca214f33a29646e08d57e3dca862140007b2
Fix Trac #3221: renamer warnings for deriving clauses

This patch arranges to gather the variables used by 'deriving' clauses,
so that unused bindings are correctly reported.
compiler/rename/RnSource.lhs
compiler/typecheck/TcDeriv.lhs
compiler/typecheck/TcInstDcls.lhs