[GHC] #1631: Make the External Package Table contain ModDetails
not ModIface
GHC
trac at galois.com
Fri Nov 9 03:07:46 EST 2007
#1631: Make the External Package Table contain ModDetails not ModIface
----------------------+-----------------------------------------------------
Reporter: simonpj | Owner:
Type: task | Status: new
Priority: normal | Milestone: 6.10 branch
Component: Compiler | Version: 6.6.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------+-----------------------------------------------------
Comment (by simonpj):
See also #1617, and Simon's comment on the patch:
{{{
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.
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1631#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list