[project @ 2001-04-27 15:41:49 by sewardj]
authorsewardj <unknown>
Fri, 27 Apr 2001 15:41:49 +0000 (15:41 +0000)
committersewardj <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

index 001a44d..15fabc0 100644 (file)
@@ -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).