From: Simon Marlow Date: Wed, 7 Nov 2007 16:14:54 +0000 (+0000) Subject: FIX #1617: reloading didn't change the :browse output as it should X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=23e4e1039c16bb30fec04b5006bfc0f4989239d9;hp=23e4e1039c16bb30fec04b5006bfc0f4989239d9;p=ghc-hetmet.git 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. ---