GHCi: Unconditionally import System.Directory
authorBen Gamari <ben@smart-cactus.org>
Thu, 17 Nov 2016 15:03:25 +0000 (10:03 -0500)
committerBen Gamari <ben@smart-cactus.org>
Thu, 17 Nov 2016 16:04:02 +0000 (11:04 -0500)
Both Windows and POSIX codepaths use System.Directory.canonicalizePath.

compiler/ghci/GHCi.hs

index 755771e..472251d 100644 (file)
@@ -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)