More faff to get GHCi's top-level environment right
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.
Showing
- compiler/deSugar/Desugar.lhs 17 additions, 17 deletionscompiler/deSugar/Desugar.lhs
- compiler/main/HscMain.hs 21 additions, 34 deletionscompiler/main/HscMain.hs
- compiler/main/HscTypes.lhs 20 additions, 26 deletionscompiler/main/HscTypes.lhs
- compiler/simplCore/CoreMonad.lhs 11 additions, 5 deletionscompiler/simplCore/CoreMonad.lhs
- compiler/typecheck/TcEnv.lhs 83 additions, 30 deletionscompiler/typecheck/TcEnv.lhs
- compiler/typecheck/TcRnDriver.lhs 38 additions, 46 deletionscompiler/typecheck/TcRnDriver.lhs
Loading
Please register or sign in to comment