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:
c79b5b1
)
[project @ 2002-08-28 09:24:15 by simonmar]
author
simonmar
<unknown>
Wed, 28 Aug 2002 09:24:15 +0000
(09:24 +0000)
committer
simonmar
<unknown>
Wed, 28 Aug 2002 09:24:15 +0000
(09:24 +0000)
Fix braino in previous commit
MERGE TO STABLE
ghc/compiler/compMan/CompManager.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/compMan/CompManager.lhs
b/ghc/compiler/compMan/CompManager.lhs
index
bc76eab
..
860f801
100644
(file)
--- a/
ghc/compiler/compMan/CompManager.lhs
+++ b/
ghc/compiler/compMan/CompManager.lhs
@@
-1185,8
+1185,9
@@
downsweep roots old_summaries
checkDuplicates summaries = mapM_ check summaries
where check summ =
case dups of
- [] -> return ()
- files -> multiRootsErr modl files
+ [] -> return ()
+ [_one] -> return ()
+ many -> multiRootsErr modl many
where modl = ms_mod summ
dups =
[ fromJust (ml_hs_file (ms_location summ'))