Remove unused appendFact code path

This commit is contained in:
Nigel Tao committed 2018-10-14 13:11:58 +11:00
1 parent 97f2570977
commit 9573b88a02
1 file changed
-6
-6
View File
@@ -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())