yq/pkg
lawrence3699 f4f77089ff
fix: traverse array with streaming indices from variable binding
When streaming values (e.g. from keys[]) pipe into an array
traversal like $o[.], only the first streaming index was used.

The RHS collect expression produces a separate SequenceNode per
streaming value when EvaluateTogether is false. The existing code
at line 126 only took the first SequenceNode, discarding the rest.

When the LHS is a single bound variable and the RHS has multiple
index sets, traverse each set separately.

Fixes #2593
2026-04-09 19:23:57 +10:00
..
yqlib fix: traverse array with streaming indices from variable binding 2026-04-09 19:23:57 +10:00