X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fghci%2FInteractiveUI.hs;fp=compiler%2Fghci%2FInteractiveUI.hs;h=70a602f16e27c61817c6304bd90c650835e9e8d2;hp=d62b3709d96b680b7e0164f55933bae5722e8705;hb=7f1db085b2256e3372feca52d493ca7577413cbe;hpb=ce6ff822da66dda9db8d3255e78448754981b6e1 diff --git a/compiler/ghci/InteractiveUI.hs b/compiler/ghci/InteractiveUI.hs index d62b370..70a602f 100644 --- a/compiler/ghci/InteractiveUI.hs +++ b/compiler/ghci/InteractiveUI.hs @@ -340,8 +340,6 @@ interactiveUI srcs maybe_exprs = withTerminalReset $ do default_editor <- liftIO $ findEditor - cwd <- liftIO $ getCurrentDirectory - startGHCi (runGHCi srcs maybe_exprs) GHCiState{ progname = "", args = [], @@ -357,7 +355,6 @@ interactiveUI srcs maybe_exprs = withTerminalReset $ do last_command = Nothing, cmdqueue = [], remembered_ctx = [], - virtual_path = cwd, ghc_e = isJust maybe_exprs }