Skip to content
Snippets Groups Projects
Forked from Glasgow Haskell Compiler / GHC
Source project has a limited visibility.
  • Simon Marlow's avatar
    23e4e103
    FIX #1617: reloading didn't change the :browse output as it should · 23e4e103
    Simon Marlow authored
    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.
    23e4e103
    History
    FIX #1617: reloading didn't change the :browse output as it should
    Simon Marlow authored
    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.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.