From e73f3e58de739680b9c4f01c923b0e99f1bd156d Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Tue, 16 Oct 2012 16:54:43 +0100 Subject: Follow dopt->gopt rename --- src/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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, -- cgit v1.2.3