X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Fmain%2FHscMain.lhs;h=bf5857eafdd09475dc638d5e1d626d42999e1dcd;hb=2ffefc1bfca0c8924825cd15750e7ced457f3c81;hp=72a4cf7333e397d8e20d6520a7ed2a2cb04fcad4;hpb=ece274b642d9edd5a90de78a432898509d87209d;p=ghc-hetmet.git diff --git a/ghc/compiler/main/HscMain.lhs b/ghc/compiler/main/HscMain.lhs index 72a4cf7..bf5857e 100644 --- a/ghc/compiler/main/HscMain.lhs +++ b/ghc/compiler/main/HscMain.lhs @@ -223,7 +223,10 @@ hscRecomp dflags location maybe_checked_iface hst hit pcs_ch mkFinalIface dflags location maybe_old_iface new_iface new_details = case completeIface maybe_old_iface new_iface new_details of (new_iface, Nothing) -- no change in the interfacfe - -> return new_iface + -> do if dopt Opt_D_dump_hi_diffs dflags then + printDump (text "INTERFACE UNCHANGED") + else return () + return new_iface (new_iface, Just sdoc) -> do dumpIfSet_dyn dflags Opt_D_dump_hi_diffs "NEW INTERFACE" sdoc -- Write the interface file