Remove unnecessary free-variables from renamer
authorsimonpj@microsoft.com <unknown>
Wed, 6 Jun 2007 13:25:21 +0000 (13:25 +0000)
committersimonpj@microsoft.com <unknown>
Wed, 6 Jun 2007 13:25:21 +0000 (13:25 +0000)
commit3c4a732b0b011cf356eed1ecd4fdc4d5f1aab193
treef125fd4301119491c63621fa81c2cfd3b28ad0e2
parentf750bec77c4f1b6d986dfa237df63a70689e9849
Remove unnecessary free-variables from renamer

The renamer used to be responsible for making sure that all interfaces
with instance decls (other than orphans) were loaded.  But TH makes that
impossible, so the typechecker does it, via checkWiredInTyCon.

This patch simply removes redundant additions to the free-variable set
in the renamer, which were there, I believe, solely to ensure that the
instances came in.  Removing them should change nothing, but it's a
useful clean up.
compiler/iface/LoadIface.lhs
compiler/iface/TcIface.lhs
compiler/rename/RnExpr.lhs
compiler/rename/RnTypes.lhs