• Simon Peyton Jones's avatar
    More faff to get GHCi's top-level environment right · f3a84161
    Simon Peyton Jones authored
    This fixes #8540 (again), and simplifies matters a bit more. In
    particular, I got rid of ic_sys_vars altogether.  Mostly they can just
    go in ic_tythings, apart from dfuns, which are readily gettable from
    the instances anyway.
    See documentation in Note [Initialising the type environment for GHCi]
    in TcEnv.
HscMain.hs 64.3 KB