• Simon Marlow's avatar
    Fix GHCi space leaks (#15111) · f27e4f62
    Simon Marlow authored
    Summary:
    There were a number of leaks causing previously loaded modules to be
    retained after a new `:load`.  This fixes enough leaks to get the
    tests to pass from D4658.
    
    Test Plan: See new tests in D4658
    
    Reviewers: niteria, bgamari, simonpj, erikd
    
    Subscribers: thomie, carter
    
    GHC Trac Issues: #15111
    
    Differential Revision: https://phabricator.haskell.org/D4659
    f27e4f62
TcRnDriver.hs 113 KB