Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
a985eb21
Commit
a985eb21
authored
Aug 11, 2006
by
Simon Marlow
Browse files
don't qualify module name for importedSrcLoc
parent
8eb5a108
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/iface/LoadIface.lhs
View file @
a985eb21
...
@@ -315,7 +315,8 @@ loadDecl ignore_prags mod (_version, decl)
...
@@ -315,7 +315,8 @@ loadDecl ignore_prags mod (_version, decl)
-- imported name, to fix the module correctly in the cache
-- imported name, to fix the module correctly in the cache
mk_new_bndr mod mb_parent occ
mk_new_bndr mod mb_parent occ
= newGlobalBinder mod occ mb_parent
= 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)
doc = ptext SLIT("Declaration for") <+> ppr (ifName decl)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment