Tidy up the ic_exports field of the InteractiveContext. Previously
was [(Module, Maybe ImportDecl)], now it is just [ImportDecl]. So now ":m +A" and "import A" do exactly the same thing in GHCi, and use the same code paths.
Showing
- compiler/hsSyn/HsImpExp.lhs 11 additions, 1 deletioncompiler/hsSyn/HsImpExp.lhs
- compiler/main/HscTypes.lhs 29 additions, 19 deletionscompiler/main/HscTypes.lhs
- compiler/main/InteractiveEval.hs 13 additions, 31 deletionscompiler/main/InteractiveEval.hs
- compiler/typecheck/TcRnDriver.lhs 3 additions, 11 deletionscompiler/typecheck/TcRnDriver.lhs
- ghc/GhciMonad.hs 3 additions, 3 deletionsghc/GhciMonad.hs
- ghc/InteractiveUI.hs 80 additions, 49 deletionsghc/InteractiveUI.hs
Loading
Please register or sign in to comment