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:
75dc3f8
)
[project @ 2002-03-20 19:42:49 by sof]
author
sof
<unknown>
Wed, 20 Mar 2002 19:42:49 +0000
(19:42 +0000)
committer
sof
<unknown>
Wed, 20 Mar 2002 19:42:49 +0000
(19:42 +0000)
maybeHomeModule: if chasing after a source import, _only_ look for hi-boots
ghc/compiler/main/Finder.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/Finder.lhs
b/ghc/compiler/main/Finder.lhs
index
fc945b6
..
ce01c28
100644
(file)
--- a/
ghc/compiler/main/Finder.lhs
+++ b/
ghc/compiler/main/Finder.lhs
@@
-99,7
+99,7
@@
maybeHomeModule mod_name is_source = do
]
searchPathExts home_path basename
- (if is_source then (boot_exts++std_exts) else std_exts ++ boot_exts)
+ (if is_source then boot_exts else (std_exts ++ boot_exts))
-- for SOURCE imports, check the hi-boot extensions
-- before the source/iface ones, to avoid
-- creating circ Makefile deps.