fix build error after merge from main

Signed-off-by: Ville Lindholm <ville@lindholm.dev>
This commit is contained in:
Ville Lindholm 2025-04-05 11:55:52 +03:00
parent e31e448fda
commit fb971b217c
No known key found for this signature in database

View file

@ -461,10 +461,10 @@ impl Evaluatable for StepExpr {
}
fn is_primitive(&self) -> bool {
self.predicates
.predicates
.is_empty() &&
self.primary.is_primitive()
match self {
StepExpr::Filter(filter_expr) => filter_expr.is_primitive(),
StepExpr::Axis(_) => false,
}
}
}