projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix bug introduced in "Implement fuzzy matching for the Finder"
[ghc-hetmet.git]
/
compiler
/
main
/
Finder.lhs
diff --git
a/compiler/main/Finder.lhs
b/compiler/main/Finder.lhs
index
5b1bae4
..
d8a6271
100644
(file)
--- a/
compiler/main/Finder.lhs
+++ b/
compiler/main/Finder.lhs
@@
-196,7
+196,7
@@
findExposedPackageModule hsc_env mod_name mb_pkg
Right found
| null found_exposed -- Found, but with no exposed copies
-> return (NotFound { fr_paths = [], fr_pkg = Nothing
Right found
| null found_exposed -- Found, but with no exposed copies
-> return (NotFound { fr_paths = [], fr_pkg = Nothing
- , fr_pkgs_hidden = mod_hiddens, fr_mods_hidden = pkg_hiddens
+ , fr_pkgs_hidden = pkg_hiddens, fr_mods_hidden = mod_hiddens
, fr_suggestions = [] })
| [(pkg_conf,_)] <- found_exposed -- Found uniquely
, fr_suggestions = [] })
| [(pkg_conf,_)] <- found_exposed -- Found uniquely