diff --git a/josh-core/src/filter/mod.rs b/josh-core/src/filter/mod.rs index fce191e5..14e5477e 100644 --- a/josh-core/src/filter/mod.rs +++ b/josh-core/src/filter/mod.rs @@ -350,7 +350,7 @@ fn resolve_refs2(refs: &std::collections::HashMap, op: &Op) - ), Op::Exclude(filter) => Op::Exclude(resolve_refs(refs, *filter)), Op::Chain(a, b) => Op::Chain(resolve_refs(refs, *a), resolve_refs(refs, *b)), - Op::Chain(a, b) => Op::Subtract(resolve_refs(refs, *a), resolve_refs(refs, *b)), + Op::Subtract(a, b) => Op::Subtract(resolve_refs(refs, *a), resolve_refs(refs, *b)), Op::Rev(filters) => { let lr = filters .into_iter()