diff options
author | Ian Lynagh <igloo@earth.li> | 2012-06-12 18:52:05 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-06-12 18:52:05 +0100 |
commit | ab50c9c527d19f4df7ee6742b6d79c855d57c9b8 (patch) | |
tree | ac78c3fda6f3a8ec8235345f7b02518e0d809ba0 /compiler/iface/MkIface.lhs | |
parent | 543ec0852722318665d2f5228e29d44a5fc973f5 (diff) | |
download | haskell-ab50c9c527d19f4df7ee6742b6d79c855d57c9b8.tar.gz |
Pass DynFlags down to showSDoc
Diffstat (limited to 'compiler/iface/MkIface.lhs')
-rw-r--r-- | compiler/iface/MkIface.lhs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/iface/MkIface.lhs b/compiler/iface/MkIface.lhs index dd87cc74fa..3df54be1a7 100644 --- a/compiler/iface/MkIface.lhs +++ b/compiler/iface/MkIface.lhs @@ -1118,8 +1118,9 @@ checkOldIface :: HscEnv -> IO (RecompileRequired, Maybe ModIface) checkOldIface hsc_env mod_summary source_modified maybe_iface - = do showPass (hsc_dflags hsc_env) $ - "Checking old interface for " ++ (showSDoc $ ppr $ ms_mod mod_summary) + = do let dflags = hsc_dflags hsc_env + showPass dflags $ + "Checking old interface for " ++ (showPpr dflags $ ms_mod mod_summary) initIfaceCheck hsc_env $ check_old_iface hsc_env mod_summary source_modified maybe_iface |