From 1364aa0bb9152ca00f433359487ec83ed7136df0 Mon Sep 17 00:00:00 2001 From: simonmar Date: Wed, 14 Jun 2000 15:06:56 +0000 Subject: [PATCH] [project @ 2000-06-14 15:06:56 by simonmar] add missing default case in eq_btype --- ghc/compiler/hsSyn/HsDecls.lhs | 1 + 1 file changed, 1 insertion(+) diff --git a/ghc/compiler/hsSyn/HsDecls.lhs b/ghc/compiler/hsSyn/HsDecls.lhs index 7fb207e..aed17b2 100644 --- 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} -- 1.7.10.4