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:
e28748e
)
[project @ 2000-06-14 15:06:56 by simonmar]
author
simonmar
<unknown>
Wed, 14 Jun 2000 15:06:56 +0000
(15:06 +0000)
committer
simonmar
<unknown>
Wed, 14 Jun 2000 15:06:56 +0000
(15:06 +0000)
add missing default case in eq_btype
ghc/compiler/hsSyn/HsDecls.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/hsSyn/HsDecls.lhs
b/ghc/compiler/hsSyn/HsDecls.lhs
index
7fb207e
..
aed17b2
100644
(file)
--- a/
ghc/compiler/hsSyn/HsDecls.lhs
+++ b/
ghc/compiler/hsSyn/HsDecls.lhs
@@
-340,6
+340,7
@@
eq_fld env (ns1,bt1) (ns2, bt2) = ns1==ns2 && eq_btype env bt1 bt2
eq_btype env (Banged t1) (Banged t2) = eq_hsType env t1 t2
eq_btype env (Unbanged t1) (Unbanged t2) = eq_hsType env t1 t2
eq_btype env (Unpacked t1) (Unpacked t2) = eq_hsType env t1 t2
+eq_btype env _ _ = False
\end{code}
\begin{code}