summaryrefslogtreecommitdiff
path: root/compiler/iface/LoadIface.lhs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/iface/LoadIface.lhs')
-rw-r--r--compiler/iface/LoadIface.lhs4
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/iface/LoadIface.lhs b/compiler/iface/LoadIface.lhs
index aef9a325f9..9445808b13 100644
--- a/compiler/iface/LoadIface.lhs
+++ b/compiler/iface/LoadIface.lhs
@@ -49,6 +49,7 @@ import Maybes
import ErrUtils
import Finder
import UniqFM
+import SrcLoc
import StaticFlags
import Outputable
import BinIface
@@ -643,7 +644,8 @@ showIface hsc_env filename = do
-- non-profiled interfaces, for example.
iface <- initTcRnIf 's' hsc_env () () $
readBinIface IgnoreHiWay TraceBinIFaceReading filename
- printDump (pprModIface iface)
+ let dflags = hsc_dflags hsc_env
+ log_action dflags SevDump noSrcSpan defaultDumpStyle (pprModIface iface)
\end{code}
\begin{code}