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:
276ff6e
)
[project @ 2001-04-27 15:41:49 by sewardj]
author
sewardj
<unknown>
Fri, 27 Apr 2001 15:41:49 +0000
(15:41 +0000)
committer
sewardj
<unknown>
Fri, 27 Apr 2001 15:41:49 +0000
(15:41 +0000)
Avoid pattern match failure in getValidLinkable.maybe_old_linkable.
ghc/compiler/compMan/CompManager.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/compMan/CompManager.lhs
b/ghc/compiler/compMan/CompManager.lhs
index
001a44d
..
15fabc0
100644
(file)
--- a/
ghc/compiler/compMan/CompManager.lhs
+++ b/
ghc/compiler/compMan/CompManager.lhs
@@
-610,8
+610,7
@@
getValidLinkable old_linkables objects_allowed new_linkables summary
Just l | not (isObjectLinkable l) || stillThere l
-> old_linkable
-- ToDo: emit a warning if not (stillThere l)
- | otherwise
- -> Nothing
+ other -> Nothing
-- make sure that if we had an old disk linkable around, that it's
-- still there on the disk (in case we need to re-link it).