fix for ZAM compilation of "in" expressions

This commit is contained in:
Vern Paxson 2023-02-09 11:21:40 -08:00
parent cdadc32985
commit 1b6df1a04c

View file

@ -350,7 +350,7 @@ ExprPtr Expr::ReduceToConditional(Reducer* c, StmtPtr& red_stmt)
return Reduce(c, red_stmt);
}
if ( ! op1->IsReduced(c) || ! op2->IsReduced(c) )
if ( ! op1->IsReduced(c) || ! op2->IsSingleton(c) )
{
auto red2_stmt = ReduceToSingletons(c);
auto res = ReduceToConditional(c, red_stmt);