patch applied (ghc-6.8/ghc): FIX #1617: reloading didn't change the :browse output as it should

Ian Lynagh igloo at earth.li
Sat Nov 10 08:36:18 EST 2007


Wed Nov  7 08:14:54 PST 2007  Simon Marlow <simonmar at microsoft.com>
  * FIX #1617: reloading didn't change the :browse output as it should
  The problem was that because the interface hadn't changed, we were
  re-using the old ModIface.  Unfortunately the ModIface contains the
  GlobalRdrEnv for the module, and that *had* changed.  The fix is to
  put the new GlobalRdrEnv in the ModIface even if the interface has not
  otherwise changed.
  
  ModIface is not really the right place for the GlobalRdrEnv, but
  neither is ModDetails, so we should think about a better way to do
  this.

    M ./compiler/iface/MkIface.lhs -1 +7



More information about the Cvs-ghc mailing list