[project @ 2001-07-19 08:28:59 by andy]
authorandy <unknown>
Thu, 19 Jul 2001 08:28:59 +0000 (08:28 +0000)
committerandy <unknown>
Thu, 19 Jul 2001 08:28:59 +0000 (08:28 +0000)
import of hscThing needs to be conditional on GHCi status.

ghc/compiler/compMan/CompManager.lhs

index a229e2c..107fe7d 100644 (file)
@@ -41,7 +41,11 @@ import DriverFlags   ( getDynFlags )
 import DriverPhases
 import DriverUtil
 import Finder
+#ifdef GHCI
 import HscMain         ( initPersistentCompilerState, hscThing )
+#else
+import HscMain         ( initPersistentCompilerState )
+#endif
 import HscTypes
 import RnEnv           ( unQualInScope )
 import Id              ( idType, idName )