[commit: ghc] master: GHCi: Unconditionally import System.Directory (04b024a)

git at git.haskell.org git at git.haskell.org
Thu Nov 17 16:04:30 UTC 2016


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/04b024a9dc5c001e3e9ee97fc999a443a492fb84/ghc

>---------------------------------------------------------------

commit 04b024a9dc5c001e3e9ee97fc999a443a492fb84
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Thu Nov 17 10:03:25 2016 -0500

    GHCi: Unconditionally import System.Directory
    
    Both Windows and POSIX codepaths use System.Directory.canonicalizePath.


>---------------------------------------------------------------

04b024a9dc5c001e3e9ee97fc999a443a492fb84
 compiler/ghci/GHCi.hs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/compiler/ghci/GHCi.hs b/compiler/ghci/GHCi.hs
index 755771e..472251d 100644
--- a/compiler/ghci/GHCi.hs
+++ b/compiler/ghci/GHCi.hs
@@ -79,9 +79,9 @@ import GHC.IO.Handle.Types (Handle)
 import Foreign.C
 import GHC.IO.Handle.FD (fdToHandle)
 #else
-import System.Directory
 import System.Posix as Posix
 #endif
+import System.Directory
 import System.Process
 import GHC.Conc (getNumProcessors, pseq, par)
 



More information about the ghc-commits mailing list