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 { fn is_primitive(&self) -> bool {
self.predicates match self {
.predicates StepExpr::Filter(filter_expr) => filter_expr.is_primitive(),
.is_empty() && StepExpr::Axis(_) => false,
self.primary.is_primitive() }
} }
} }