[project @ 2002-01-04 11:39:00 by simonpj]
authorsimonpj <unknown>
Fri, 4 Jan 2002 11:39:01 +0000 (11:39 +0000)
committersimonpj <unknown>
Fri, 4 Jan 2002 11:39:01 +0000 (11:39 +0000)
commitce26c4b797d4eace56c7acfab5e5d6990b5f1681
tree05184f4b9c810f834c0ed1a92c5bc63a0209ac6d
parent13a428caa18deb2805e307cbe7a99fa9f09c13a4
[project @ 2002-01-04 11:39:00 by simonpj]
-----------------------------
Fix a too-vigorous export bug
-----------------------------

MERGE TO STABLE

[this is the Ian Lynagh -O2 bug]

CoreTidy didn't filter the rules that it exports, so it
exported some that mentioned Ids on the *left* hand side
that are not exported.  So an importing module fell over.

The fix is simple: filter the exposed rules.   On the way
I tidied up CoreFVs a little.
ghc/compiler/coreSyn/CoreFVs.lhs
ghc/compiler/coreSyn/CoreTidy.lhs