aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-10-16 16:54:43 +0100
committerIan Lynagh <ian@well-typed.com>2012-10-16 16:54:43 +0100
commite73f3e58de739680b9c4f01c923b0e99f1bd156d (patch)
tree3044537cc5bed3fe6b9e59e91490613c11b59978 /src
parent2a72fa293a0d9a083c316dc3f5ca4ac8854b44c8 (diff)
Follow dopt->gopt rename
Diffstat (limited to 'src')
-rw-r--r--src/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index 94cbad02..88c89a19 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -302,7 +302,7 @@ withGhc libDir flags ghcActs = saveStaticFlagGlobals >>= \savedFlags -> do
(restFlags, _) <- parseStaticFlags (map noLoc flags)
runGhc (Just libDir) $ do
dynflags <- getSessionDynFlags
- let dynflags' = dopt_set dynflags Opt_Haddock
+ let dynflags' = gopt_set dynflags Opt_Haddock
let dynflags'' = dynflags' {
hscTarget = HscNothing,
ghcMode = CompManager,