From 9573b88a0225ff5f003631dde5f39b45a8f46ae9 Mon Sep 17 00:00:00 2001 From: Nigel Tao Date: Sun, 14 Oct 2018 13:11:58 +1100 Subject: [PATCH] Remove unused appendFact code path --- lang/check/assert.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lang/check/assert.go b/lang/check/assert.go index 5b4deec0..54efd738 100644 --- a/lang/check/assert.go +++ b/lang/check/assert.go @@ -66,12 +66,6 @@ func (z *facts) appendFact(fact *a.Expr) { } switch fact.Operator() { - case 0: - for _, x := range *z { - if op, other := otherHandSide(x, fact); op == t.IDXBinaryEqEq { - z.appendFact(other) - } - } case t.IDXBinaryAnd: z.appendFact(fact.LHS().AsExpr()) z.appendFact(fact.RHS().AsExpr())