projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d95ce83
)
Comments only
author
simonpj@microsoft.com
<unknown>
Mon, 8 Dec 2008 12:41:55 +0000
(12:41 +0000)
committer
simonpj@microsoft.com
<unknown>
Mon, 8 Dec 2008 12:41:55 +0000
(12:41 +0000)
compiler/rename/RnEnv.lhs
patch
|
blob
|
history
diff --git
a/compiler/rename/RnEnv.lhs
b/compiler/rename/RnEnv.lhs
index
b7a2767
..
2a1ae6b
100644
(file)
--- a/
compiler/rename/RnEnv.lhs
+++ b/
compiler/rename/RnEnv.lhs
@@
-350,9
+350,10
@@
lookupLocatedGlobalOccRn = wrapLocM lookupGlobalOccRn
lookupGlobalOccRn :: RdrName -> RnM Name
-- lookupGlobalOccRn is like lookupOccRn, except that it looks in the global
--- environment. It's used only for
+-- environment. It's called directly only for
-- record field names
-- class op names in class and instance decls
+-- names in export lists
lookupGlobalOccRn rdr_name
| not (isSrcRdrName rdr_name)