diff options
author | Ian Lynagh <ian@well-typed.com> | 2012-10-16 13:08:15 +0100 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2012-10-16 13:08:15 +0100 |
commit | 86f6acdc46d0c27e113d7c3c90cb1b07014cb1b7 (patch) | |
tree | 64b44570541236ba3d62113a100dee24d1bbc925 /compiler/ghci/Debugger.hs | |
parent | 5cd52bfd00de6ba168d4447cc67b74686681786d (diff) | |
download | haskell-86f6acdc46d0c27e113d7c3c90cb1b07014cb1b7.tar.gz |
Rename DynFlag to GeneralFlag
This avoids confusion due to [DynFlag] and DynFlags being completely
different types.
Diffstat (limited to 'compiler/ghci/Debugger.hs')
-rw-r--r-- | compiler/ghci/Debugger.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ghci/Debugger.hs b/compiler/ghci/Debugger.hs index 20b7e13e7f..9d10711dbc 100644 --- a/compiler/ghci/Debugger.hs +++ b/compiler/ghci/Debugger.hs @@ -224,7 +224,7 @@ pprTypeAndContents id = do -------------------------------------------------------------- -- Utils -traceOptIf :: GhcMonad m => DynFlag -> SDoc -> m () +traceOptIf :: GhcMonad m => GeneralFlag -> SDoc -> m () traceOptIf flag doc = do dflags <- GHC.getSessionDynFlags when (dopt flag dflags) $ liftIO $ printInfoForUser dflags alwaysQualify doc |