cvs commit: fptools/ghc/compiler/coreSyn CoreFVs.lhs CoreTidy.lhs

Simon Peyton Jones simonpj@glass.cse.ogi.edu
Fri, 4 Jan 2002 03:39:01 -0800


simonpj     2002/01/04 03:39:01 PST

  Modified files:
    ghc/compiler/coreSyn CoreFVs.lhs CoreTidy.lhs 
  Log:
  	-----------------------------
  	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.
  
  Revision  Changes    Path
  1.18      +1 -10     fptools/ghc/compiler/coreSyn/CoreFVs.lhs
  1.67      +21 -8     fptools/ghc/compiler/coreSyn/CoreTidy.lhs