[commit: ghc] master: Always qualify on hi interface mismatch. (9960afe)
git at git.haskell.org
git at git.haskell.org
Mon Jul 21 17:00:19 UTC 2014
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/9960afe413c0fe18cf988c1b7e4804c449b5875a/ghc
>---------------------------------------------------------------
commit 9960afe413c0fe18cf988c1b7e4804c449b5875a
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date: Mon Jul 21 17:21:10 2014 +0100
Always qualify on hi interface mismatch.
Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>
>---------------------------------------------------------------
9960afe413c0fe18cf988c1b7e4804c449b5875a
compiler/iface/LoadIface.lhs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/compiler/iface/LoadIface.lhs b/compiler/iface/LoadIface.lhs
index 4b3a445..04b0476 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 ")
More information about the ghc-commits
mailing list