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:
8295d9c
)
[project @ 1998-12-22 17:00:11 by simonm]
author
simonm
<unknown>
Tue, 22 Dec 1998 17:00:11 +0000
(17:00 +0000)
committer
simonm
<unknown>
Tue, 22 Dec 1998 17:00:11 +0000
(17:00 +0000)
Remove overlapped case correctly spotted by GHC.
ghc/compiler/utils/Util.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/utils/Util.lhs
b/ghc/compiler/utils/Util.lhs
index
1165334
..
f99d937
100644
(file)
--- a/
ghc/compiler/utils/Util.lhs
+++ b/
ghc/compiler/utils/Util.lhs
@@
-694,8
+694,6
@@
cmpString (x:xs) (y:ys) = if x == y then cmpString xs ys
else GT
cmpString [] ys = LT
cmpString xs [] = GT
-
-cmpString _ _ = panic "cmpString"
\end{code}