mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
fix for ZAM compilation of "in" expressions
This commit is contained in:
parent
cdadc32985
commit
1b6df1a04c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue