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:
2bad3de
)
minor fix to the clashing export error message
author
Simon Marlow
<simonmar@microsoft.com>
Tue, 22 Aug 2006 11:25:18 +0000
(11:25 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Tue, 22 Aug 2006 11:25:18 +0000
(11:25 +0000)
The ordering of items in the parsed export list is now correct, so we
have to compensate to get the right output again.
compiler/rename/RnNames.lhs
patch
|
blob
|
history
diff --git
a/compiler/rename/RnNames.lhs
b/compiler/rename/RnNames.lhs
index
63fd99d
..
b1f3795
100644
(file)
--- a/
compiler/rename/RnNames.lhs
+++ b/
compiler/rename/RnNames.lhs
@@
-725,7
+725,7
@@
check_occs ie occs names
| otherwise -- Same occ name but different names: an error
-> do { global_env <- getGlobalRdrEnv ;
- addErr (exportClashErr global_env name name' ie ie') ;
+ addErr (exportClashErr global_env name' name ie' ie) ;
returnM occs }
where
name_occ = nameOccName name