aboutsummaryrefslogtreecommitdiff
path: root/haddock-api/src
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2020-01-20 23:12:29 +0100
committerSylvain Henry <sylvain@haskus.fr>2020-02-10 10:13:56 +0100
commitd838d08f0ac0173dc704d51191b1c1976964b6f1 (patch)
treeeac867fb18cf2fc4885f2d4db32f4e042270d200 /haddock-api/src
parente7a650a94dbc118c423e684b27203a52baf34ff5 (diff)
Module hierarchy: runtime (cf #13009)
Diffstat (limited to 'haddock-api/src')
-rw-r--r--haddock-api/src/Haddock.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/haddock-api/src/Haddock.hs b/haddock-api/src/Haddock.hs
index 68392ab3..2e2f951f 100644
--- a/haddock-api/src/Haddock.hs
+++ b/haddock-api/src/Haddock.hs
@@ -73,7 +73,7 @@ import Packages
import Panic (handleGhcException)
import Module
import FastString
-import qualified DynamicLoading
+import qualified GHC.Runtime.Loader
--------------------------------------------------------------------------------
-- * Exception handling
@@ -473,7 +473,7 @@ withGhc' libDir needHieFiles flags ghcActs = runGhc (Just libDir) $ do
-- dynamic or static linking at all!
_ <- setSessionDynFlags dynflags''
hscenv <- GHC.getSession
- dynflags''' <- liftIO (DynamicLoading.initializePlugins hscenv dynflags'')
+ dynflags''' <- liftIO (GHC.Runtime.Loader.initializePlugins hscenv dynflags'')
_ <- setSessionDynFlags dynflags'''
ghcActs dynflags'''
where