summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Z. Yang <ezyang@cs.stanford.edu>2014-07-21 17:21:10 +0100
committerEdward Z. Yang <ezyang@cs.stanford.edu>2014-07-21 17:21:56 +0100
commit9960afe413c0fe18cf988c1b7e4804c449b5875a (patch)
tree2e9d17a8eebd6bd338c0744c625b095e7ffad3f6
parent80ab62d0d722972ce004b860c3a15c5727189285 (diff)
downloadhaskell-9960afe413c0fe18cf988c1b7e4804c449b5875a.tar.gz
Always qualify on hi interface mismatch.
Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
-rw-r--r--compiler/iface/LoadIface.lhs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/iface/LoadIface.lhs b/compiler/iface/LoadIface.lhs
index 4b3a44531e..04b0476f30 100644
--- a/compiler/iface/LoadIface.lhs
+++ b/compiler/iface/LoadIface.lhs
@@ -876,7 +876,7 @@ badIfaceFile file err
hiModuleNameMismatchWarn :: Module -> Module -> MsgDoc
hiModuleNameMismatchWarn requested_mod read_mod =
- withPprStyle defaultUserStyle $
+ withPprStyle (mkUserStyle alwaysQualify AllTheWay) $
-- we want the Modules below to be qualified with package names,
-- so reset the PrintUnqualified setting.
hsep [ ptext (sLit "Something is amiss; requested module ")