X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=compiler%2Fspecialise%2FSpecConstr.lhs;h=256674b4c4485f1e8ffcd34ff05156b5d13433d4;hp=21bca945d291a55feb2acc1ebdf935ee662b7344;hb=f8c52d7fde2d7408b4f734251c373f8d3e2c558e;hpb=907c44ca14e479e5fa64d712703b8fbad19d1e04 diff --git a/compiler/specialise/SpecConstr.lhs b/compiler/specialise/SpecConstr.lhs index 21bca94..256674b 100644 --- a/compiler/specialise/SpecConstr.lhs +++ b/compiler/specialise/SpecConstr.lhs @@ -1249,12 +1249,10 @@ samePat (vs1, as1) (vs2, as2) same e1 e2 = WARN( bad e1 || bad e2, ppr e1 $$ ppr e2) False -- Let, lambda, case should not occur -#ifdef DEBUG bad (Case {}) = True bad (Let {}) = True bad (Lam {}) = True bad other = False -#endif \end{code} Note [Ignore type differences]