projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
8eb5a10
)
don't qualify module name for importedSrcLoc
author
Simon Marlow
<simonmar@microsoft.com>
Fri, 11 Aug 2006 10:13:27 +0000
(10:13 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Fri, 11 Aug 2006 10:13:27 +0000
(10:13 +0000)
compiler/iface/LoadIface.lhs
patch
|
blob
|
history
diff --git
a/compiler/iface/LoadIface.lhs
b/compiler/iface/LoadIface.lhs
index
8bcf987
..
51b540c
100644
(file)
--- a/
compiler/iface/LoadIface.lhs
+++ b/
compiler/iface/LoadIface.lhs
@@
-315,7
+315,8
@@
loadDecl ignore_prags mod (_version, decl)
-- imported name, to fix the module correctly in the cache
mk_new_bndr mod mb_parent occ
= newGlobalBinder mod occ mb_parent
- (importedSrcLoc (showSDoc (pprModule mod)))
+ (importedSrcLoc (showSDoc (ppr (moduleName mod))))
+ -- ToDo: qualify with the package name if necessary
doc = ptext SLIT("Declaration for") <+> ppr (ifName decl)