[project @ 2000-06-16 08:53:10 by simonmar]
[ghc-hetmet.git] / ghc / compiler / hsSyn / HsDecls.lhs
index aed17b2..5267681 100644 (file)
@@ -116,8 +116,9 @@ instance (Outputable name, Outputable pat)
 instance Ord name => Eq (HsDecl name pat) where
        -- Used only when comparing interfaces, 
        -- at which time only signature and type/class decls
-   (SigD s1)  == (SigD s2) = s1 == s2
+   (SigD s1)  == (SigD s2)  = s1 == s2
    (TyClD d1) == (TyClD d2) = d1 == d2
+   _          == _          = False
 \end{code}